From 9932047bef46cadd9420be17c5d535723c83acca Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 3 Feb 2004 21:20:18 +0000 Subject: bring some standard C++ fixes, mostly from NetBSD. get isatty proto from the right place. avoid malloc.h okay otto@, millert@ --- usr.bin/lex/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/lex/main.c') diff --git a/usr.bin/lex/main.c b/usr.bin/lex/main.c index 814b77b1593..111ba6963c3 100644 --- a/usr.bin/lex/main.c +++ b/usr.bin/lex/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 2003/06/04 17:34:44 millert Exp $ */ +/* $OpenBSD: main.c,v 1.10 2004/02/03 21:20:17 espie Exp $ */ /* flex - tool to generate fast lexical analyzers */ @@ -39,7 +39,7 @@ char copyright[] = All rights reserved.\n"; #endif /* not lint */ -/* $Header: /cvs/OpenBSD/src/usr.bin/lex/main.c,v 1.9 2003/06/04 17:34:44 millert Exp $ */ +/* $Header: /cvs/OpenBSD/src/usr.bin/lex/main.c,v 1.10 2004/02/03 21:20:17 espie Exp $ */ #include "flexdef.h" @@ -1013,7 +1013,7 @@ _( "Variable trailing context rules entail a large performance penalty\n" ) ); if ( C_plus_plus ) { - outn( "\n#include " ); + outn( "\n#include " ); if ( yyclass ) { -- cgit v1.2.3