changeset 1463:592291d9dfbb

[project @ 1995-09-22 07:18:44 by jwe]
author jwe
date Fri, 22 Sep 1995 07:18:44 +0000
parents 8aa535221fa1
children 6548bc27329b
files src/sysdep.cc
diffstat 1 files changed, 14 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.cc	Fri Sep 22 01:31:22 1995 +0000
+++ b/src/sysdep.cc	Fri Sep 22 07:18:44 1995 +0000
@@ -55,6 +55,19 @@
 LOSE! LOSE!
 #endif
 
+#if defined (HAVE_FLOATINGPOINT_H)
+#include <floatingpoint.h>
+#endif
+
+#if !defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H)
+#include <sys/utsname.h>
+#endif
+
+#include <readline/readline.h>
+
+extern char *term_clrpag;
+extern "C" void _rl_output_character_function ();
+
 #include "defun.h"
 #include "error.h"
 #include "f77-uscore.h"
@@ -66,15 +79,7 @@
 #include "tree-const.h"
 #include "utils.h"
 
-extern "C"
-{
-#include <readline/readline.h>
-
-extern char *term_clrpag;
-extern void _rl_output_character_function ();
-
-extern double F77_FCN (d1mach, D1MACH) (const int&);
-}
+extern "C" double F77_FCN (d1mach, D1MACH) (const int&);
 
 #ifndef STDIN_FILENO
 #define STDIN_FILENO 1
@@ -92,10 +97,6 @@
 // Nonzero if the machine we are running on is big-endian.
 int octave_words_big_endian;
 
-#if defined (HAVE_FLOATINGPOINT_H)
-#include <floatingpoint.h>
-#endif
-
 #ifdef NeXT
 extern "C"
 {
@@ -635,8 +636,6 @@
 
 #if !defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H)
 extern "C"
-{
-#include <sys/utsname.h>
 int
 gethostname (char *name, int namelen)
 {
@@ -652,7 +651,6 @@
 
   return 0;
 }
-}
 #endif
 
 /*