aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-12-08 10:31:32 -0800
committerGravatar Yang Gao <yangg@google.com>2015-12-08 10:31:32 -0800
commitcf45f0a44e0d3449e964d0a559f1e3f565052eb7 (patch)
tree2a6bf534f6699e33bd2c109e5e0f374ed7d653b2 /test
parentfe5e877f44f1303706a3875f4f9d31a7bdb28cb8 (diff)
parent858be6c58cecb9b0a1e11c3aafd1c362784aad1d (diff)
Merge pull request #4336 from ctiller/windows-fix
Fix windows build
Diffstat (limited to 'test')
-rw-r--r--test/core/surface/init_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/surface/init_test.c b/test/core/surface/init_test.c
index c8791965bf..d4451e4567 100644
--- a/test/core/surface/init_test.c
+++ b/test/core/surface/init_test.c
@@ -47,7 +47,7 @@ static void test(int rounds) {
}
}
-static void test_mixed() {
+static void test_mixed(void) {
grpc_init();
grpc_init();
grpc_shutdown();
@@ -56,8 +56,8 @@ static void test_mixed() {
grpc_shutdown();
}
-static void plugin_init() { g_flag = 1; }
-static void plugin_destroy() { g_flag = 2; }
+static void plugin_init(void) { g_flag = 1; }
+static void plugin_destroy(void) { g_flag = 2; }
static void test_plugin() {
grpc_register_plugin(plugin_init, plugin_destroy);