aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-02-02 08:39:47 -0800
committerGravatar Vijay Pai <vpai@google.com>2018-02-02 08:39:47 -0800
commit0dbb00eef0e53c87dcd6958839ec0d532cdf858c (patch)
treef765041b518edb57ada86c99633223bad5926f31
parent80e23d19df972a697c3ed4fef841ebc83838e38b (diff)
Remove extern "C"
-rw-r--r--test/core/util/cmdline.h8
-rw-r--r--test/core/util/subprocess.h8
2 files changed, 0 insertions, 16 deletions
diff --git a/test/core/util/cmdline.h b/test/core/util/cmdline.h
index 54f45167fa..3ae35d6e6a 100644
--- a/test/core/util/cmdline.h
+++ b/test/core/util/cmdline.h
@@ -21,10 +21,6 @@
#include <grpc/support/port_platform.h>
-#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 7419de27bb..c7fe9af435 100644
--- a/test/core/util/subprocess.h
+++ b/test/core/util/subprocess.h
@@ -21,10 +21,6 @@
#include <grpc/support/port_platform.h>
-#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 */