aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-02-02 08:35:44 -0800
committerGravatar Vijay Pai <vpai@google.com>2018-02-02 08:35:44 -0800
commit7ce8b94b691e08efc7206ac9365d71502872e154 (patch)
tree6338dc7d90c99475a004c345f5441cd9f8cf1054
parentae376bf9d982892eba5b052b87f88e24b1bb0677 (diff)
Remove extern "C" since this is no longer a public header
-rw-r--r--src/core/lib/gpr/host_port.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/lib/gpr/host_port.h b/src/core/lib/gpr/host_port.h
index ee71327bcb..0bf0960f82 100644
--- a/src/core/lib/gpr/host_port.h
+++ b/src/core/lib/gpr/host_port.h
@@ -21,10 +21,6 @@
#include <grpc/support/port_platform.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** Given a host and port, creates a newly-allocated string of the form
"host:port" or "[ho:st]:port", depending on whether the host contains colons
like an IPv6 literal. If the host is already bracketed, then additional
@@ -44,8 +40,4 @@ int gpr_join_host_port(char** out, const char* host, int port);
failure. */
int gpr_split_host_port(const char* name, char** host, char** port);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* GRPC_CORE_LIB_GPR_HOST_PORT_H */