gcc44 warns: Put input() under YY_NO_INPUT and set that if it isn't used.
[dragonfly.git] / contrib / libpcap / scanner.l
index c477684..f2d0d80 100644 (file)
@@ -64,6 +64,7 @@ static inline int xdtoi(int);
 
 #ifdef FLEX_SCANNER
 #define YY_NO_UNPUT
+#define YY_NO_INPUT
 static YY_BUFFER_STATE in_buffer;
 #else
 static char *in_buffer;