aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-10-06 13:10:20 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-10-06 13:10:20 -0700
commit0f4d34493ef973a5aa70d3422cffd2c77068821f (patch)
tree1c971bf73e633bbc6e21d089ee0f89e210a5019f /src/core
parent3640b4084ac8485ef99ab3162cae7b8b079bbf6b (diff)
extern C for gpr_default_log in android
Diffstat (limited to 'src/core')
-rw-r--r--src/core/lib/support/log_android.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/support/log_android.cc b/src/core/lib/support/log_android.cc
index 6f1cec51f1..ca66eb15a1 100644
--- a/src/core/lib/support/log_android.cc
+++ b/src/core/lib/support/log_android.cc
@@ -50,7 +50,7 @@ void gpr_log(const char *file, int line, gpr_log_severity severity,
free(message);
}
-void gpr_default_log(gpr_log_func_args *args) {
+extern "C" void gpr_default_log(gpr_log_func_args *args) {
char *final_slash;
const char *display_file;
char *output = NULL;