aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-scanner.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-24 19:29:45 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-24 19:29:45 +0000
commit72fa4b5d3a1e981d7f7839d631c633c482e3a47d (patch)
treed727d992c5b56b883fcf69aae7f43a2f7ac471d1 /wiretap/ascend-scanner.l
parent57cffcde0123ba595e2f891bdd2071343c08b4d7 (diff)
Don't define "pseudo_header" in "ascend-scanner.l", as that may cause
warnings about multiple declaration of "pseudo_header" as a common. Instead, define it only in "ascend-grammar.y", and declare it in "ascend-int.h" as an "extern". svn path=/trunk/; revision=1103
Diffstat (limited to 'wiretap/ascend-scanner.l')
-rw-r--r--wiretap/ascend-scanner.l4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l
index 97056380b0..2ed89de7c2 100644
--- a/wiretap/ascend-scanner.l
+++ b/wiretap/ascend-scanner.l
@@ -1,7 +1,7 @@
%{
/* ascend-scanner.l
*
- * $Id: ascend-scanner.l,v 1.8 1999/11/18 21:48:53 guy Exp $
+ * $Id: ascend-scanner.l,v 1.9 1999/11/24 19:29:45 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -41,8 +41,6 @@ extern char *ascend_ra_last;
#define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \
result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); }
-struct ascend_phdr *pseudo_header;
-
int at_eof;
int mul, scratch;
%}