Mercurial > hg > octave-nkf
changeset 1467:7f008dfdc5a5
[project @ 1995-09-22 07:59:09 by jwe]
author | jwe |
---|---|
date | Fri, 22 Sep 1995 08:00:23 +0000 |
parents | 2f85a175308f |
children | cdb87ef617e8 |
files | src/input.h src/sysdep.cc src/sysdep.h |
diffstat | 3 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/input.h +++ b/src/input.h @@ -69,10 +69,7 @@ // A line of input. extern char *current_input_line; -extern "C" -{ char *gnu_readline (const char *s); -} #endif
--- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -633,7 +633,6 @@ } #if !defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H) -extern "C" int gethostname (char *name, int namelen) {
--- a/src/sysdep.h +++ b/src/sysdep.h @@ -32,7 +32,9 @@ extern char *octave_getcwd (char *, int); extern int octave_chdir (const char *); -extern "C" int gethostname (); +#if !defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H) +extern int gethostname (); +#endif // Octave's idea of infinity. extern double octave_Inf;