From 2c3a28e411bdf51e045ee207bc8a48aac42475dc Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Tue, 30 Jul 2019 17:16:50 -0700 Subject: Add -Wstrict-prototypes option --- tests/pb/test_varint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/pb/test_varint.c') diff --git a/tests/pb/test_varint.c b/tests/pb/test_varint.c index ebee282..95a04ab 100644 --- a/tests/pb/test_varint.c +++ b/tests/pb/test_varint.c @@ -101,7 +101,7 @@ static void test_varint_decoder(upb_decoderet (*decoder)(const char*)) { upb_decoderet _upb_vdecode_ ## decoder(const char *p) { \ return upb_vdecode_ ## decoder(p); \ } \ - void test_ ## decoder() { \ + void test_ ## decoder(void) { \ test_varint_decoder(&_upb_vdecode_ ## decoder); \ } \ -- cgit v1.2.3