From 858be6c58cecb9b0a1e11c3aafd1c362784aad1d Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 8 Dec 2015 09:29:44 -0800 Subject: [PATCH] Fix windows build --- test/core/surface/init_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/core/surface/init_test.c b/test/core/surface/init_test.c index c8791965bfd..d4451e45672 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);