From 3646bd21df28b3b374d885b4402a557a1819d94a Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 6 Jan 2001 02:09:31 +0000 Subject: [PATCH] don't roll your own declaration of isatty; use ; needs to be checked for c++ --- usr.bin/lex/flex.skl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl index c2ef4f9505cb..614570bc6e40 100644 --- a/usr.bin/lex/flex.skl +++ b/usr.bin/lex/flex.skl @@ -1,7 +1,7 @@ /* A lexical scanner generated by flex */ /* Scanner skeleton version: - * $NetBSD: flex.skl,v 1.15 2000/06/17 11:56:21 assar Exp $ + * $NetBSD: flex.skl,v 1.16 2001/01/06 02:09:31 christos Exp $ */ #define FLEX_SCANNER @@ -1190,7 +1190,7 @@ void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b ) %- #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE -extern int isatty YY_PROTO(( int )); +#include #endif #endif @@ -1203,7 +1203,6 @@ FILE *file; #endif %+ -extern "C" int isatty YY_PROTO(( int )); void yyFlexLexer::yy_init_buffer( YY_BUFFER_STATE b, istream* file ) %*