diff --git a/src/core/lib/gpr/host_port.h b/src/core/lib/gpr/host_port.h index ee71327bcb8..0bf0960f824 100644 --- a/src/core/lib/gpr/host_port.h +++ b/src/core/lib/gpr/host_port.h @@ -21,10 +21,6 @@ #include -#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 */