From 5e944ee2a86145bf42db1386e4b497facfd3e0b6 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 9 May 2017 20:05:10 +0200 Subject: mate (grammar): fix no previous prototype for function 'MateParser/Alloc/Free' [-Wmissing-prototypes] Change-Id: I87ff11b7c04cb3b6963d4c8c16df2c3d60a0aec8 Reviewed-on: https://code.wireshark.org/review/21574 Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- plugins/mate/mate.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') diff --git a/plugins/mate/mate.h b/plugins/mate/mate.h index c9f7efdc76..191c6600fe 100644 --- a/plugins/mate/mate.h +++ b/plugins/mate/mate.h @@ -380,4 +380,10 @@ extern gchar* add_ranges(gchar* range, GPtrArray* range_ptr_arr); /* from mate_parser.l */ extern gboolean mate_load_config(const gchar* filename, mate_config* mc); +/* Constructor/Destructor prototypes for Lemon Parser */ +void *MateParserAlloc(void* (*)(gsize)); + +void MateParserFree(void*, void (*)(void *)); +void MateParser(void*, int, gchar*, mate_config*); + #endif -- cgit v1.2.1