diff options
author | Alistair Veitch <alistair.veitch@gmail.com> | 2015-01-27 17:31:23 -0800 |
---|---|---|
committer | Alistair Veitch <alistair.veitch@gmail.com> | 2015-01-27 17:31:23 -0800 |
commit | 4d9f3d7b6337880ff1bb72de91e1421589f09582 (patch) | |
tree | 59d4c6635602514367c7c00d714dcc11f1c954db /src/core/statistics | |
parent | 3b56a57b25fcf2536b817856ed56221d86f48d73 (diff) | |
parent | 295699425a0165c62d9f347806d42eab104269d3 (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.h | 8 |
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_ */ |