Mercurial > hg > octave-terminal
changeset 2442:f667d7ec08b9
[project @ 1996-10-30 18:46:22 by jwe]
author | jwe |
---|---|
date | Wed, 30 Oct 1996 18:46:25 +0000 |
parents | 91752cdf8981 |
children | 4d941ba99862 |
files | src/ChangeLog src/defaults.cc src/dirfns.cc src/file-io.cc src/help.cc src/input.cc src/oct-hist.cc src/oct-procbuf.cc src/octave.cc src/pt-misc.cc src/pt-plot.cc src/sighandlers.cc src/strftime.c src/syscalls.cc src/sysdep.cc src/syswait.h src/toplev.cc src/utils.cc src/variables.cc |
diffstat | 19 files changed, 43 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,11 @@ Wed Oct 30 01:06:19 1996 John W. Eaton <jwe@bevo.che.wisc.edu> + * defaults.cc, dirfns.cc, file-io.cc, help.cc, input.cc, + oct-hist.cc, oct-procbuf.cc, oct-procbuf.h, octave.cc, pager.h, + procstream.h, pt-misc.cc, pt-plot.cc, sighandlers.cc, strftime.c, + syscalls.cc, sysdep.cc, syswait.h, toplev.cc, utils.cc, + variables.cc: Only include sys/types.h if HAVE_SYS_TYPES_H. + * error.h (panic): Use GCC_ATTR_NORETURN macro, not NORETURN. * toplev.h (clean_up_and_exit): Likewise. * utils.h (jump_to_top_level): Likewise.
--- a/src/defaults.cc +++ b/src/defaults.cc @@ -39,7 +39,9 @@ #include <string> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -48,7 +48,9 @@ #include <strstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/file-io.cc +++ b/src/file-io.cc @@ -43,7 +43,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/help.cc +++ b/src/help.cc @@ -34,7 +34,9 @@ #include <strstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/input.cc +++ b/src/input.cc @@ -48,7 +48,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/oct-hist.cc +++ b/src/oct-hist.cc @@ -40,7 +40,9 @@ #include <fstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/oct-procbuf.cc +++ b/src/oct-procbuf.cc @@ -29,7 +29,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/octave.cc +++ b/src/octave.cc @@ -37,7 +37,9 @@ #include <strstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/pt-misc.cc +++ b/src/pt-misc.cc @@ -31,7 +31,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/pt-plot.cc +++ b/src/pt-plot.cc @@ -37,7 +37,9 @@ #include <strstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/sighandlers.cc +++ b/src/sighandlers.cc @@ -30,7 +30,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/strftime.c +++ b/src/strftime.c @@ -79,7 +79,10 @@ #endif #include <stdio.h> + +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #if defined(TIME_WITH_SYS_TIME) #include <sys/time.h>
--- a/src/syscalls.cc +++ b/src/syscalls.cc @@ -32,7 +32,9 @@ #include <cstdio> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -43,7 +43,9 @@ #include <iostream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif
--- a/src/syswait.h +++ b/src/syswait.h @@ -25,7 +25,9 @@ // This mess suggested by the autoconf manual. +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #if HAVE_SYS_WAIT_H #include <sys/wait.h>
--- a/src/toplev.cc +++ b/src/toplev.cc @@ -38,7 +38,9 @@ #include <strstream.h> #ifdef HAVE_UNISTD_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <unistd.h> #endif