]> granicus.if.org Git - check/commitdiff
remove warnings about prototypes
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 9 May 2014 12:48:05 +0000 (12:48 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 9 May 2014 12:48:05 +0000 (12:48 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1132 64e312b2-a51f-0410-8e61-82d0ca0eb02a

tests/check_check_sub.c
tests/check_mem_leaks.c

index ad1b5abfb5da36441f11366d2c84fa6087817fc3..67b5728ef11c340d65f430c6999a7ed466812223 100644 (file)
@@ -804,6 +804,7 @@ Suite *make_sub2_suite(void)
   return s;
 }
 
+void exit_handler(int, void*);
 void exit_handler (int ev, void *arg)
 {
   // This exit handler should never be executed
index 590f766ea7f945b8bcfe1160008cad0b0b696b73..240b265ad3c79dc35609696ff81bc6975e0e9fb3 100644 (file)
@@ -12,7 +12,7 @@
 #include "config.h"
 #include "check_check.h"
 
-int main ()
+int main (int argc, char ** argv)
 {
     int n;
     SRunner *sr;