diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-12-19 16:48:24 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-12-21 00:04:18 +0000 |
commit | 917867c4328c5ebdad3491a5081f6662da77a76a (patch) | |
tree | 902c26693ab6ae8e2bf5b852ddc06920e3e62098 /tools/oss-fuzzshark/fuzzshark.c | |
parent | 7cf2d865904dac347a5e72bf37e73658ecdc2d54 (diff) |
fuzzshark: fix no previous prototype for function 'LLVMFuzzerTestOneInput/LLVMFuzzerInitialize' [-Wmissing-prototypes]
Change-Id: If5f425dda3cd793a63a69680c12aba12a20ed12e
Reviewed-on: https://code.wireshark.org/review/24917
Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools/oss-fuzzshark/fuzzshark.c')
-rw-r--r-- | tools/oss-fuzzshark/fuzzshark.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/oss-fuzzshark/fuzzshark.c b/tools/oss-fuzzshark/fuzzshark.c index 1b6c606302..53560d9ef9 100644 --- a/tools/oss-fuzzshark/fuzzshark.c +++ b/tools/oss-fuzzshark/fuzzshark.c @@ -52,6 +52,8 @@ #include <wsutil/plugins.h> #endif +#include "FuzzerInterface.h" + #define EPAN_INIT_FAIL 2 static column_info fuzz_cinfo; @@ -279,7 +281,7 @@ clean_exit: #ifdef FUZZ_EPAN int -LLVMFuzzerTestOneInput(guint8 *buf, size_t real_len) +LLVMFuzzerTestOneInput(const guint8 *buf, size_t real_len) { static guint32 framenum = 0; epan_dissect_t *edt = fuzz_edt; |