From dd591ad194375720df232ae180e3e694e58d600c Mon Sep 17 00:00:00 2001 From: Mikko Johannes Koivunalho Date: Fri, 31 May 2019 22:02:56 +0200 Subject: [PATCH] Fix int main() function to "int main(void)" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit check_mem_leaks.c:35:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] int main () ^~~~ --- tests/check_mem_leaks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1