From: Mikko Johannes Koivunalho Date: Fri, 31 May 2019 20:02:56 +0000 (+0200) Subject: Fix int main() function to "int main(void)" X-Git-Tag: 0.13.0~17^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd591ad194375720df232ae180e3e694e58d600c;p=check Fix int main() function to "int main(void)" check_mem_leaks.c:35:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] int main () ^~~~ --- diff --git a/tests/check_mem_leaks.c b/tests/check_mem_leaks.c index 4528fb0..ee7cd7e 100644 --- a/tests/check_mem_leaks.c +++ b/tests/check_mem_leaks.c @@ -32,7 +32,7 @@ #include "config.h" #include "check_check.h" -int main () +int main (void) { int n; SRunner *sr;