aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/profiling/timers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/profiling/timers.h')
-rw-r--r--src/core/lib/profiling/timers.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/lib/profiling/timers.h b/src/core/lib/profiling/timers.h
index 8b6c254c21..a0a0a4fff1 100644
--- a/src/core/lib/profiling/timers.h
+++ b/src/core/lib/profiling/timers.h
@@ -19,9 +19,7 @@
#ifndef GRPC_CORE_LIB_PROFILING_TIMERS_H
#define GRPC_CORE_LIB_PROFILING_TIMERS_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+
void gpr_timers_global_init(void);
void gpr_timers_global_destroy(void);
@@ -84,9 +82,6 @@ void gpr_timer_set_enabled(int enabled);
#endif /* at least one profiler requested. */
-#ifdef __cplusplus
-}
-
#if (defined(GRPC_STAP_PROFILER) + defined(GRPC_BASIC_PROFILER) + \
defined(GRPC_CUSTOM_PROFILER))
namespace grpc {
@@ -111,6 +106,5 @@ class ProfileScope {
do { \
} while (false)
#endif
-#endif
#endif /* GRPC_CORE_LIB_PROFILING_TIMERS_H */