diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-02-03 21:20:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-02-03 21:20:18 +0000 |
commit | 9932047bef46cadd9420be17c5d535723c83acca (patch) | |
tree | e7062168cf67c9e7643cfc9a2208ed9c8b791809 /usr.bin/lex/main.c | |
parent | a6b34b5258d5d76afceea87514721923a5654e17 (diff) |
bring some standard C++ fixes, mostly from NetBSD.
get isatty proto from the right place.
avoid malloc.h
okay otto@, millert@
Diffstat (limited to 'usr.bin/lex/main.c')
-rw-r--r-- | usr.bin/lex/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <g++/FlexLexer.h>" ); + outn( "\n#include <FlexLexer.h>" ); if ( yyclass ) { |