diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-06 13:10:20 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-06 13:10:20 -0700 |
commit | 0f4d34493ef973a5aa70d3422cffd2c77068821f (patch) | |
tree | 1c971bf73e633bbc6e21d089ee0f89e210a5019f /src/core | |
parent | 3640b4084ac8485ef99ab3162cae7b8b079bbf6b (diff) |
extern C for gpr_default_log in android
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/support/log_android.cc | 2 |
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; |