aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-02-15 21:06:58 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2000-02-15 21:06:58 +0000
commitbb2001e69691a52b0c78e29c76936ba270d3ce60 (patch)
tree1ed7404ba1544d1204efc77468af4f151c6fc67d /wiretap
parent7306ee01d06e36b473b81b7c1ea832537a2e7e4a (diff)
Create a header file for every packet-*.c file. Prune the packet.h file.
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1637 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ascend-scanner.l7
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l
index 69097a89dc..90baee246f 100644
--- a/wiretap/ascend-scanner.l
+++ b/wiretap/ascend-scanner.l
@@ -1,7 +1,7 @@
%{
/* ascend-scanner.l
*
- * $Id: ascend-scanner.l,v 1.12 2000/01/22 06:22:35 guy Exp $
+ * $Id: ascend-scanner.l,v 1.13 2000/02/15 21:06:58 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@@ -48,6 +48,11 @@ result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); }
int at_eof;
int mul, scratch;
+
+/* We don't need yyunput, so use this macro to get it out of the
+ * generated C file, avoiding a compiler warning about its lack of use */
+#define YY_NO_UNPUT 1
+
%}
/* %option debug */