aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/util/port.h
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/port.h
parent90c8cf6acc698ddef1d2da3b205ad8d0014b52fa (diff)
Remove all extern C
Diffstat (limited to 'test/core/util/port.h')
-rw-r--r--test/core/util/port.h8
1 files changed, 2 insertions, 6 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 */