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