aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/statistics
diff options
context:
space:
mode:
authorGravatar Alistair Veitch <alistair.veitch@gmail.com>2015-01-27 17:31:23 -0800
committerGravatar Alistair Veitch <alistair.veitch@gmail.com>2015-01-27 17:31:23 -0800
commit4d9f3d7b6337880ff1bb72de91e1421589f09582 (patch)
tree59d4c6635602514367c7c00d714dcc11f1c954db /src/core/statistics
parent3b56a57b25fcf2536b817856ed56221d86f48d73 (diff)
parent295699425a0165c62d9f347806d42eab104269d3 (diff)
Merge pull request #167 from maxwell-demon/master
Fix census_log_tests on platforms with only one core.
Diffstat (limited to 'src/core/statistics')
-rw-r--r--src/core/statistics/census_tracing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/statistics/census_tracing.h b/src/core/statistics/census_tracing.h
index 604096ba54..f356c9424d 100644
--- a/src/core/statistics/census_tracing.h
+++ b/src/core/statistics/census_tracing.h
@@ -34,6 +34,10 @@
#ifndef __GRPC_INTERNAL_STATISTICS_CENSUS_TRACING_H_
#define __GRPC_INTERNAL_STATISTICS_CENSUS_TRACING_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Opaque structure for trace object */
typedef struct trace_obj trace_obj;
@@ -56,4 +60,8 @@ void census_internal_unlock_trace_store(void);
/* Gets method tag name associated with the input trace object. */
const char* census_get_trace_method_name(const trace_obj* trace);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __GRPC_INTERNAL_STATISTICS_CENSUS_TRACING_H_ */