diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-05-02 14:58:26 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-05-02 17:38:53 +0000 |
commit | 427c800a9fb41d0c6147b5eac7b82c0e62d4c58f (patch) | |
tree | 232032c9e9d11bc2a1a9da7d0c87bf78445f31d9 /tools | |
parent | 67cfac7ef94d05f5f18fae27cec0853a21b46495 (diff) |
lemon: fix no previous prototype for ‘memory_error’ [-Wmissing-prototypes]
Change-Id: I5830581c843af41f48bc9645c2be7cf35fa00391
Reviewed-on: https://code.wireshark.org/review/21463
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 68f7071adc..e1101ae6d6 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -1516,7 +1516,7 @@ make_basename(char* fullname) /* Report an out-of-memory condition and abort. This function ** is used mostly by the "MemoryCheck" macro in struct.h */ -void memory_error(void){ +extern void memory_error(void){ fprintf(stderr,"Out of memory. Aborting...\n"); exit(1); } |