aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-04-16 10:57:04 -0700
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-04-16 18:38:26 +0000
commitc92637bcd82071d7a263597c2d7cbd95b481ee54 (patch)
treec09f7b71efa3e42e33d6b658cfb45c074bf0dd2f /wiretap
parent23a82b040e4443cced8fc847f35a5a1b6486b829 (diff)
Add missing prototypes to lemon-generated code.
Add static prototypes for the parser interface functions. Fixes -Wmissing-prototypes found by clang.
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ascend_parser.lemon4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/ascend_parser.lemon b/wiretap/ascend_parser.lemon
index 51716fe658..be1291c925 100644
--- a/wiretap/ascend_parser.lemon
+++ b/wiretap/ascend_parser.lemon
@@ -127,6 +127,10 @@ XMIT-Max7:20: (task "_brouterControlTask" at 0xb094ac20, time: 1481.51) 20 octet
#define NO_USER "<none>"
+static void *AscendParserAlloc(void *(*mallocProc)(size_t));
+static void AscendParser(void *yyp, int yymajor, ascend_token_t yyminor, ascend_state_t *state);
+static void AscendParserFree(void *p, void (*freeProc)(void*));
+
#if 0
#define ASCEND_PARSER_DEBUG 1
#undef NDEBUG