diff options
author | 2017-11-16 15:35:45 -0800 | |
---|---|---|
committer | 2017-11-17 14:08:57 -0800 | |
commit | adbfbd5977104987bee9f946f691683b756305e8 (patch) | |
tree | e35bcf97ddf6864de5beea7bb903552d4fdd5592 /src/core/lib/iomgr/gethostname.h | |
parent | 90c8cf6acc698ddef1d2da3b205ad8d0014b52fa (diff) |
Remove all extern C
Diffstat (limited to 'src/core/lib/iomgr/gethostname.h')
-rw-r--r-- | src/core/lib/iomgr/gethostname.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/lib/iomgr/gethostname.h b/src/core/lib/iomgr/gethostname.h index 2e65b5ffbf..19da54378a 100644 --- a/src/core/lib/iomgr/gethostname.h +++ b/src/core/lib/iomgr/gethostname.h @@ -19,16 +19,12 @@ #ifndef GRPC_CORE_LIB_IOMGR_GETHOSTNAME_H #define GRPC_CORE_LIB_IOMGR_GETHOSTNAME_H -#ifdef __cplusplus -extern "C" { -#endif + // Returns the hostname of the local machine. // Caller takes ownership of result. char* grpc_gethostname(); -#ifdef __cplusplus -} -#endif + #endif /* GRPC_CORE_LIB_IOMGR_GETHOSTNAME_H */ |