From: brarcher Date: Fri, 9 May 2014 12:48:05 +0000 (+0000) Subject: remove warnings about prototypes X-Git-Tag: 0.10.0~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09e496460ae2154ca672110f811355ef8beb4cf2;p=check remove warnings about prototypes git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1132 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/tests/check_check_sub.c b/tests/check_check_sub.c index ad1b5ab..67b5728 100644 --- a/tests/check_check_sub.c +++ b/tests/check_check_sub.c @@ -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 diff --git a/tests/check_mem_leaks.c b/tests/check_mem_leaks.c index 590f766..240b265 100644 --- a/tests/check_mem_leaks.c +++ b/tests/check_mem_leaks.c @@ -12,7 +12,7 @@ #include "config.h" #include "check_check.h" -int main () +int main (int argc, char ** argv) { int n; SRunner *sr;