aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-02-15 21:06:58 +0000
commitddfa11e870be7bbe45147c2e7807da7ee13d6ee8 (patch)
tree1ed7404ba1544d1204efc77468af4f151c6fc67d /wiretap
parenta9e588ea5797b3f1bb8fb330283d90c51600a56a (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. svn path=/trunk/; revision=1637
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 */