X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-typesafe_cb.c;fp=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_fail-typesafe_cb.c;h=5d569373bb1ef13ec4f68b4bc4bb7b846a46ca2c;hb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;hp=81e36d7b87b901fb4922e5e3174ef466b242ec9a;hpb=c3a3b7453182a388c6cc076bd2983384ba3d0529;p=ccan diff --git a/ccan/typesafe_cb/test/compile_fail-typesafe_cb.c b/ccan/typesafe_cb/test/compile_fail-typesafe_cb.c index 81e36d7b..5d569373 100644 --- a/ccan/typesafe_cb/test/compile_fail-typesafe_cb.c +++ b/ccan/typesafe_cb/test/compile_fail-typesafe_cb.c @@ -12,7 +12,7 @@ static void my_callback(char *p) { } -int main(int argc, char *argv[]) +int main(void) { char str[] = "hello world"; #ifdef FAIL