diff options
author | Yang Gao <yangg@google.com> | 2015-01-15 23:07:04 -0800 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-01-15 23:07:04 -0800 |
commit | 0aa22c3ce1e17b4c96cac35b0a2420604578534f (patch) | |
tree | 10417909fb90c1fcd97a0c5312e169f31831ddf3 /test/core/iomgr/sockaddr_utils_test.c | |
parent | d7c16868a5543e6248420e378344e17f3abc0361 (diff) | |
parent | 7f06f9eb85174c1a6fc27106379b8d1a190543b0 (diff) |
Merge pull request #81 from ctiller/update
Merge master into branch
Diffstat (limited to 'test/core/iomgr/sockaddr_utils_test.c')
-rw-r--r-- | test/core/iomgr/sockaddr_utils_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/iomgr/sockaddr_utils_test.c b/test/core/iomgr/sockaddr_utils_test.c index 8cd9fb660f..14018ed66c 100644 --- a/test/core/iomgr/sockaddr_utils_test.c +++ b/test/core/iomgr/sockaddr_utils_test.c @@ -70,7 +70,7 @@ static const gpr_uint8 kIPv4[] = {192, 0, 2, 1}; static const gpr_uint8 kIPv6[] = {0x20, 0x01, 0x0d, 0xb8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; -static void test_sockaddr_is_v4mapped() { +static void test_sockaddr_is_v4mapped(void) { struct sockaddr_in input4; struct sockaddr_in6 input6; struct sockaddr_in output4; @@ -101,7 +101,7 @@ static void test_sockaddr_is_v4mapped() { !grpc_sockaddr_is_v4mapped((const struct sockaddr *)&input4, NULL)); } -static void test_sockaddr_to_v4mapped() { +static void test_sockaddr_to_v4mapped(void) { struct sockaddr_in input4; struct sockaddr_in6 input6; struct sockaddr_in6 output6; @@ -129,7 +129,7 @@ static void test_sockaddr_to_v4mapped() { !grpc_sockaddr_to_v4mapped((const struct sockaddr *)&input6, &output6)); } -static void test_sockaddr_is_wildcard() { +static void test_sockaddr_is_wildcard(void) { struct sockaddr_in wild4; struct sockaddr_in6 wild6; struct sockaddr_in6 wild_mapped; @@ -187,7 +187,7 @@ static void expect_sockaddr_str(const char *expected, void *addr, gpr_free(str); } -static void test_sockaddr_to_string() { +static void test_sockaddr_to_string(void) { struct sockaddr_in input4; struct sockaddr_in6 input6; struct sockaddr dummy; |