when it's used by "text2pcap.c" - and so that the *same* prototype is in
scope when it's defined by "text2pcap-scanner.c".
Define "YY_NO_UNPUT" in "text2pcap.h", so we don't define "yyunput()" in
"text2pcap-scanner.c"; it's not used, so some compilers whine about it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3424
f5534014-38df-0310-8fa8-
9805f1628bb7
*
* (c) Copyright 2001 Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: text2pcap.h,v 1.1 2001/05/16 21:32:04 ashokn Exp $
+ * $Id: text2pcap.h,v 1.2 2001/05/17 00:11:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
void parse_token(token_t token, char *str);
+int yylex(void);
+
+#define YY_NO_UNPUT
+
#endif