aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/support/string_test.c
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-01-15 23:07:04 -0800
committerGravatar Yang Gao <yangg@google.com>2015-01-15 23:07:04 -0800
commit0aa22c3ce1e17b4c96cac35b0a2420604578534f (patch)
tree10417909fb90c1fcd97a0c5312e169f31831ddf3 /test/core/support/string_test.c
parentd7c16868a5543e6248420e378344e17f3abc0361 (diff)
parent7f06f9eb85174c1a6fc27106379b8d1a190543b0 (diff)
Merge pull request #81 from ctiller/update
Merge master into branch
Diffstat (limited to 'test/core/support/string_test.c')
-rw-r--r--test/core/support/string_test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/support/string_test.c b/test/core/support/string_test.c
index 22ae7bacf5..e87a606aba 100644
--- a/test/core/support/string_test.c
+++ b/test/core/support/string_test.c
@@ -44,7 +44,7 @@
#define LOG_TEST_NAME() gpr_log(GPR_INFO, "%s", __FUNCTION__)
-static void test_strdup() {
+static void test_strdup(void) {
static const char *src1 = "hello world";
char *dst1;
@@ -64,7 +64,7 @@ static void expect_hexdump(const char *buf, size_t len, gpr_uint32 flags,
gpr_free(got);
}
-static void test_hexdump() {
+static void test_hexdump(void) {
LOG_TEST_NAME();
expect_hexdump("\x01", 1, 0, "01");
expect_hexdump("\x01", 1, GPR_HEXDUMP_PLAINTEXT, "01 '.'");
@@ -85,7 +85,7 @@ static void test_pu32_succeed(const char *s, gpr_uint32 want) {
GPR_ASSERT(out == want);
}
-static void test_parse_uint32() {
+static void test_parse_uint32(void) {
LOG_TEST_NAME();
test_pu32_fail("-1");
@@ -119,7 +119,7 @@ static void test_parse_uint32() {
test_pu32_fail("4294967299");
}
-static void test_asprintf() {
+static void test_asprintf(void) {
char *buf;
int i, j;