From 71e08dd0de2305aff360c7d1b03466e70650431d Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 18 Aug 2015 13:34:30 +0200 Subject: lemonflex: fix warning: no previous prototype for 'df_scanner_*' [-Wmissing-prototypes] lemonflex-tail.inc:44:1: warning: no previous prototype for 'df_scanner_text' [-Wmissing-prototypes] lemonflex-tail.inc:50:1: warning: no previous prototype for 'df_scanner_file' [-Wmissing-prototypes] lemonflex-tail.inc:59:1: warning: no previous prototype for 'df_scanner_cleanup' [-Wmissing-prototypes] Change-Id: If0476b430592df225234c5c685c8009ab08b5ab6 Reviewed-on: https://code.wireshark.org/review/10162 Reviewed-by: Anders Broman --- tools/lemon/lemonflex-tail.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/lemon') diff --git a/tools/lemon/lemonflex-tail.inc b/tools/lemon/lemonflex-tail.inc index 805cd16c62..55af823ac9 100644 --- a/tools/lemon/lemonflex-tail.inc +++ b/tools/lemon/lemonflex-tail.inc @@ -5,11 +5,11 @@ for use with the Lemon parser. You must have #define'd: MODNAME module name for creating function names: Prototypes: - -void MODNAME_scanner_text(char *text); -void MODNAME_scanner_cleanup(void); -int MODNAME_wrap(void); */ +void CONCAT(MODNAME,_scanner_text(char *text)); +void CONCAT(MODNAME,_scanner_file(FILE *fh)); +void CONCAT(MODNAME,_scanner_cleanup(void)); +int CONCAT(MODNAME,_wrap(void)); #include -- cgit v1.2.1