diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-09-21 12:57:30 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-02 16:23:34 -0700 |
commit | 53a47f09e2fe9755608eac9308a90d232fb1551f (patch) | |
tree | e0d723a311d5467d327a7f7ca1daebd79b8c4fea /src/core/lib/surface/alarm_internal.h | |
parent | a7e6d65a4864422854117149a6e98ff80e492fa9 (diff) |
Changes for C to C++. Adding extern C to header files for compatibility.
Diffstat (limited to 'src/core/lib/surface/alarm_internal.h')
-rw-r--r-- | src/core/lib/surface/alarm_internal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/lib/surface/alarm_internal.h b/src/core/lib/surface/alarm_internal.h index 7f2126c5c9..136b60547f 100644 --- a/src/core/lib/surface/alarm_internal.h +++ b/src/core/lib/surface/alarm_internal.h @@ -22,6 +22,10 @@ #include <grpc/support/log.h> #include "src/core/lib/debug/trace.h" +#ifdef __cplusplus +extern "C" { +#endif + #ifndef NDEBUG extern grpc_tracer_flag grpc_trace_alarm_refcount; @@ -37,4 +41,8 @@ extern grpc_tracer_flag grpc_trace_alarm_refcount; #endif /* defined(NDEBUG) */ +#ifdef __cplusplus +} +#endif + #endif /* GRPC_CORE_LIB_SURFACE_ALARM_INTERNAL_H */ |