diff --git a/t/generated-code2/test-generated-code2.c b/t/generated-code2/test-generated-code2.c index 15f5dc8..5198af6 100755 --- a/t/generated-code2/test-generated-code2.c +++ b/t/generated-code2/test-generated-code2.c @@ -2370,7 +2370,7 @@ static Test tests[] = }; #define n_tests (sizeof(tests)/sizeof(Test)) -int main () +int main(void) { unsigned i; for (i = 0; i < n_tests; i++) diff --git a/t/version/version.c b/t/version/version.c index 6ee3c41..9fec1ab 100644 --- a/t/version/version.c +++ b/t/version/version.c @@ -35,7 +35,7 @@ #include "protobuf-c.h" int -main(int argc, char **argv) +main(void) { printf("PACKAGE_VERSION = %s\n", PACKAGE_VERSION);