aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/client_channel
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/client_channel
parent0aeef4f0e7417afae8e38702463ffa5d5ac2a590 (diff)
LLVMfuzzer extern C
Diffstat (limited to 'test/core/client_channel')
-rw-r--r--test/core/client_channel/uri_fuzzer_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/client_channel/uri_fuzzer_test.cc b/test/core/client_channel/uri_fuzzer_test.cc
index 8c071454bc..9674dadf6c 100644
--- a/test/core/client_channel/uri_fuzzer_test.cc
+++ b/test/core/client_channel/uri_fuzzer_test.cc
@@ -28,7 +28,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 = static_cast<char *>(gpr_malloc(size + 1));
memcpy(s, data, size);
s[size] = 0;