diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-08-18 13:34:30 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-08-21 04:51:54 +0000 |
commit | 71e08dd0de2305aff360c7d1b03466e70650431d (patch) | |
tree | 9a32ad3ab0134822fb53b77f4d9762d4feea505a /tools | |
parent | a70f5915828058f11623012962ec93477e361f7a (diff) |
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 <a.broman58@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemonflex-tail.inc | 8 |
1 files changed, 4 insertions, 4 deletions
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 <cppmagic.h> |