From 0dbb00eef0e53c87dcd6958839ec0d532cdf858c Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Fri, 2 Feb 2018 08:39:47 -0800 Subject: [PATCH] Remove extern "C" --- test/core/util/cmdline.h | 8 -------- test/core/util/subprocess.h | 8 -------- 2 files changed, 16 deletions(-) diff --git a/test/core/util/cmdline.h b/test/core/util/cmdline.h index 54f45167faf..3ae35d6e6af 100644 --- a/test/core/util/cmdline.h +++ b/test/core/util/cmdline.h @@ -21,10 +21,6 @@ #include -#ifdef __cplusplus -extern "C" { -#endif - /** Simple command line parser. Supports flags that can be specified as -foo, --foo, --no-foo, -no-foo, etc @@ -81,8 +77,4 @@ void gpr_cmdline_destroy(gpr_cmdline* cl); /** Get a string describing usage */ char* gpr_cmdline_usage_string(gpr_cmdline* cl, const char* argv0); -#ifdef __cplusplus -} -#endif - #endif /* GRPC_TEST_CORE_UTIL_CMDLINE_H */ diff --git a/test/core/util/subprocess.h b/test/core/util/subprocess.h index 7419de27bb9..c7fe9af435d 100644 --- a/test/core/util/subprocess.h +++ b/test/core/util/subprocess.h @@ -21,10 +21,6 @@ #include -#ifdef __cplusplus -extern "C" { -#endif - typedef struct gpr_subprocess gpr_subprocess; /** .exe on windows, empty on unices */ @@ -37,8 +33,4 @@ void gpr_subprocess_destroy(gpr_subprocess* p); int gpr_subprocess_join(gpr_subprocess* p); void gpr_subprocess_interrupt(gpr_subprocess* p); -#ifdef __cplusplus -} // extern "C" -#endif - #endif /* GRPC_TEST_CORE_UTIL_SUBPROCESS_H */