46c690c
--- flex-2.5.4/initscan.c.broken	Sat Sep 30 16:50:31 2000
46c690c
+++ flex-2.5.4/initscan.c	Sat Sep 30 16:51:34 2000
46c690c
@@ -10,7 +10,7 @@
46c690c
 #define YY_FLEX_MINOR_VERSION 5
46c690c
 
46c690c
 #include <stdio.h>
46c690c
-
46c690c
+#include <unistd.h>
46c690c
 
46c690c
 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
46c690c
 #ifdef c_plusplus
46c690c
@@ -23,7 +23,6 @@
46c690c
 #ifdef __cplusplus
46c690c
 
46c690c
 #include <stdlib.h>
46c690c
-#include <unistd.h>
46c690c
 
46c690c
 /* Use prototypes in function declarations. */
46c690c
 #define YY_USE_PROTOS
46c690c
@@ -3310,12 +3309,6 @@
46c690c
 	yy_flex_free( (void *) b );
46c690c
 	}
46c690c
 
46c690c
-
46c690c
-#ifndef YY_ALWAYS_INTERACTIVE
46c690c
-#ifndef YY_NEVER_INTERACTIVE
46c690c
-extern int isatty YY_PROTO(( int ));
46c690c
-#endif
46c690c
-#endif
46c690c
 
46c690c
 #ifdef YY_USE_PROTOS
46c690c
 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
46c690c
--- flex-2.5.4/flex.skl.broken	Sat Sep 30 16:51:05 2000
46c690c
+++ flex-2.5.4/flex.skl	Sat Sep 30 16:52:24 2000
46c690c
@@ -10,6 +10,7 @@
46c690c
 
46c690c
 %-
46c690c
 #include <stdio.h>
46c690c
+#include <unistd.h>
46c690c
 %*
46c690c
 
46c690c
 
46c690c
@@ -27,7 +28,6 @@
46c690c
 %+
46c690c
 class istream;
46c690c
 %*
46c690c
-#include <unistd.h>
46c690c
 
46c690c
 /* Use prototypes in function declarations. */
46c690c
 #define YY_USE_PROTOS
46c690c
@@ -1177,11 +1177,6 @@
46c690c
 
46c690c
 
46c690c
 %-
46c690c
-#ifndef YY_ALWAYS_INTERACTIVE
46c690c
-#ifndef YY_NEVER_INTERACTIVE
46c690c
-extern int isatty YY_PROTO(( int ));
46c690c
-#endif
46c690c
-#endif
46c690c
 
46c690c
 #ifdef YY_USE_PROTOS
46c690c
 void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
46c690c
@@ -1192,7 +1187,6 @@
46c690c
 #endif
46c690c
 
46c690c
 %+
46c690c
-extern "C" int isatty YY_PROTO(( int ));
46c690c
 void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, istream* file )
46c690c
 %*
46c690c
 
46c690c
--- flex-2.5.4/skel.c.broken	Sat Sep 30 16:52:34 2000
46c690c
+++ flex-2.5.4/skel.c	Sat Sep 30 16:53:15 2000
46c690c
@@ -15,6 +15,7 @@
46c690c
   "",
46c690c
   "%-",
46c690c
   "#include <stdio.h>",
46c690c
+  "#include <unistd.h>",
46c690c
   "%*",
46c690c
   "",
46c690c
   "",
46c690c
@@ -32,7 +33,6 @@
46c690c
   "%+",
46c690c
   "class istream;",
46c690c
   "%*",
46c690c
-  "#include <unistd.h>",
46c690c
   "",
46c690c
   "/* Use prototypes in function declarations. */",
46c690c
   "#define YY_USE_PROTOS",
46c690c
@@ -1182,11 +1182,6 @@
46c690c
   "",
46c690c
   "",
46c690c
   "%-",
46c690c
-  "#ifndef YY_ALWAYS_INTERACTIVE",
46c690c
-  "#ifndef YY_NEVER_INTERACTIVE",
46c690c
-  "extern int isatty YY_PROTO(( int ));",
46c690c
-  "#endif",
46c690c
-  "#endif",
46c690c
   "",
46c690c
   "#ifdef YY_USE_PROTOS",
46c690c
   "void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )",
46c690c
@@ -1197,7 +1192,6 @@
46c690c
   "#endif",
46c690c
   "",
46c690c
   "%+",
46c690c
-  "extern \"C\" int isatty YY_PROTO(( int ));",
46c690c
   "void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, istream* file )",
46c690c
   "%*",
46c690c
   "",