aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-11-16 15:35:45 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-11-17 14:08:57 -0800
commitadbfbd5977104987bee9f946f691683b756305e8 (patch)
treee35bcf97ddf6864de5beea7bb903552d4fdd5592 /test/core/util
parent90c8cf6acc698ddef1d2da3b205ad8d0014b52fa (diff)
Remove all extern C
Diffstat (limited to 'test/core/util')
-rw-r--r--test/core/util/port.h8
-rw-r--r--test/core/util/test_config.h8
2 files changed, 4 insertions, 12 deletions
diff --git a/test/core/util/port.h b/test/core/util/port.h
index 602099dea6..bb4fd91fee 100644
--- a/test/core/util/port.h
+++ b/test/core/util/port.h
@@ -19,9 +19,7 @@
#ifndef GRPC_TEST_CORE_UTIL_PORT_H
#define GRPC_TEST_CORE_UTIL_PORT_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+
typedef struct grpc_pick_port_functions {
int (*pick_unused_port_fn)(void);
@@ -45,8 +43,6 @@ void grpc_recycle_unused_port(int port);
/** Request the family of pick_port functions in \a functions be used. */
void grpc_set_pick_port_functions(grpc_pick_port_functions functions);
-#ifdef __cplusplus
-}
-#endif
+
#endif /* GRPC_TEST_CORE_UTIL_PORT_H */
diff --git a/test/core/util/test_config.h b/test/core/util/test_config.h
index 4383fbfce8..adfec48662 100644
--- a/test/core/util/test_config.h
+++ b/test/core/util/test_config.h
@@ -21,9 +21,7 @@
#include <grpc/support/time.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+
extern int64_t g_fixture_slowdown_factor;
extern int64_t g_poller_slowdown_factor;
@@ -43,8 +41,6 @@ gpr_timespec grpc_timeout_milliseconds_to_deadline(int64_t time_ms);
void grpc_test_init(int argc, char** argv);
-#ifdef __cplusplus
-}
-#endif
+
#endif /* GRPC_TEST_CORE_UTIL_TEST_CONFIG_H */