aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/json
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-10-31 15:15:41 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-10-31 15:15:41 -0700
commit11a518995ec0c0fd3d833e00d5ae67b7e446edbc (patch)
treed1aa7ef1ab4f461b642e9b226e2438a9a213d303 /test/core/json
parent0aeef4f0e7417afae8e38702463ffa5d5ac2a590 (diff)
LLVMfuzzer extern C
Diffstat (limited to 'test/core/json')
-rw-r--r--test/core/json/fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/json/fuzzer.cc b/test/core/json/fuzzer.cc
index a8b75f72a2..58c34e51d1 100644
--- a/test/core/json/fuzzer.cc
+++ b/test/core/json/fuzzer.cc
@@ -29,7 +29,7 @@
bool squelch = true;
bool leak_check = true;
-int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
char *s;
struct grpc_memory_counters counters;
grpc_memory_counters_init();