Module Name: src
Committed By: hubertf
Date: Tue Dec 15 22:46:04 UTC 2009
Modified Files:
src/usr.bin/lex: flex.skl
Log Message:
Conditionalize the yyinput/input() function definition the same way
as it's always been done in the prototype.
OK christos@
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/lex/flex.skl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/lex/flex.skl
diff -u src/usr.bin/lex/flex.skl:1.24 src/usr.bin/lex/flex.skl:1.25
--- src/usr.bin/lex/flex.skl:1.24 Mon Jul 20 21:13:28 2009
+++ src/usr.bin/lex/flex.skl Tue Dec 15 22:46:04 2009
@@ -1,7 +1,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $NetBSD: flex.skl,v 1.24 2009/07/20 21:13:28 christos Exp $
+ * $NetBSD: flex.skl,v 1.25 2009/12/15 22:46:04 hubertf Exp $
*/
#define FLEX_SCANNER
@@ -989,9 +989,9 @@
%-
#ifndef YY_NO_INPUT
#ifdef __cplusplus
-static int yyinput(void)
+static int yyinput YY_PROTO(( void ))
#else
-static int input(void)
+static int input YY_PROTO(( void ))
#endif
%+
int yyFlexLexer::yyinput(void)