diff options
author | Tristan Matthews <tmatth@videolan.org> | 2019-02-27 20:24:22 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2019-02-27 20:24:52 +0300 |
commit | 191fc0a2cd090f7664bc793cd35791c9c59f169f (patch) | |
tree | dae0c670bd17541479b543f132ad9be7205d7a27 | |
parent | 8808b1f0c2890143186d009040abd7a38d2af05e (diff) |
oss-fuzz: add extern "C" before fuzz function
Reported by Tyson Smith.
-rw-r--r-- | contrib/oss-fuzz/speex_decode_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/oss-fuzz/speex_decode_fuzzer.cc b/contrib/oss-fuzz/speex_decode_fuzzer.cc index 31af6e1..fa80f2e 100644 --- a/contrib/oss-fuzz/speex_decode_fuzzer.cc +++ b/contrib/oss-fuzz/speex_decode_fuzzer.cc @@ -47,7 +47,7 @@ #define speex_decode_func(a, b, c) speex_decode_int(a, b, c) #endif -int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { output_type output[FRAME_SIZE]; void *decoder_state; |