summaryrefslogtreecommitdiff
path: root/net/xorp/files/patch-rtrmgr__lex.tplt.cc
blob: aa3e240e33a29cbd5a3e68737a53730d100fcb44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- rtrmgr/lex.tplt.cc.orig	2012-01-11 17:56:10 UTC
+++ rtrmgr/lex.tplt.cc
@@ -8667,6 +8667,7 @@ static void yy_flex_strncpy YY_PROTO(( c
 static int yy_flex_strlen YY_PROTO(( yyconst char * ));
 #endif
 
+#define YY_NO_INPUT
 #ifndef YY_NO_INPUT
 #ifdef __cplusplus
 static int yyinput YY_PROTO(( void ));
@@ -9708,6 +9709,7 @@ register char *yy_bp;
 #endif	/* ifndef YY_NO_UNPUT */
 
 
+#ifndef YY_NO_INPUT
 #ifdef __cplusplus
 static int yyinput()
 #else
@@ -9779,7 +9781,7 @@ static int input()
 
 	return c;
 	}
-
+#endif
 
 #ifdef YY_USE_PROTOS
 void yyrestart( FILE *input_file )