summaryrefslogtreecommitdiff
path: root/wiretap/ascend-int.h
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-int.h
parent57cffcde0123ba595e2f891bdd2071343c08b4d7 (diff)
downloadwireshark-72fa4b5d3a1e981d7f7839d631c633c482e3a47d.tar.gz
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-int.h')
-rw-r--r--wiretap/ascend-int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h
index 83994ff5ef..5ad414cd98 100644
--- a/wiretap/ascend-int.h
+++ b/wiretap/ascend-int.h
@@ -2,7 +2,7 @@
* Definitions for routines common to multiple modules in the Lucent/Ascend
* capture file reading code code, but not used outside that code.
*
- * $Id: ascend-int.h,v 1.3 1999/10/10 18:16:43 guy Exp $
+ * $Id: ascend-int.h,v 1.4 1999/11/24 19:29:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -34,6 +34,11 @@ typedef struct {
guint32 len;
} ascend_pkthdr;
+/*
+ * Pointer to the pseudo-header for the current packet.
+ */
+extern struct ascend_phdr *pseudo_header;
+
/* Here we provide interfaces to make our scanner act and look like lex */
int ascendlex(void);