aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-08-20 17:49:58 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-20 17:49:58 +0000
commit07f44e2a7fc06099489a3e9163f9ec42694703da (patch)
tree7e2fcad4722e79929985f914cff3e9a0ce19de9d /wiretap
parentbb5c2b1f7ac46556b6ea603c3639d1640256987d (diff)
"ascend-grammar.h" is generated by Bison with a copy of the definition
of the YYSTYPE structure in "ascend-grammar.c"; the intent is that other files include "ascend-grammar.h" if they need that structure, but that "ascend-grammar.c" not itself include "ascend-grammar.h". If it *does* include it, the compiler complains about YYSTYPE being redefined (even though the two structures are identical). svn path=/trunk/; revision=15478
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ascend-grammar.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/wiretap/ascend-grammar.y b/wiretap/ascend-grammar.y
index 9a0ba70cd3..398d8c5852 100644
--- a/wiretap/ascend-grammar.y
+++ b/wiretap/ascend-grammar.y
@@ -142,8 +142,6 @@ XMIT-Max7:20: (task "_brouterControlTask" at 0xb094ac20, time: 1481.51) 20 octet
#include "ascend-int.h"
#include "file_wrappers.h"
-#include "ascend-grammar.h"
-
#define NO_USER "<none>"
int yyparse(void);