X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-typesafe_cb-int.c;fp=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-typesafe_cb-int.c;h=006dd5e2d5ebecbf8c18f1c797b19fb3e29de62f;hb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;hp=c4033364d41c91bf565bfc52d71b22ab3434cc21;hpb=c3a3b7453182a388c6cc076bd2983384ba3d0529;p=ccan diff --git a/ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c b/ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c index c4033364..006dd5e2 100644 --- a/ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c +++ b/ccan/typesafe_cb/test/compile_fail-typesafe_cb-int.c @@ -17,7 +17,7 @@ void my_callback(int something) { } -int main(int argc, char *argv[]) +int main(void) { #ifdef FAIL /* This fails due to arg, not due to cast. */