X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_ok-typesafe_cb-vars.c;fp=ccan%2Ftypesafe_cb%2Ftest%2Fcompile_ok-typesafe_cb-vars.c;h=9537a3ea519b7e50cedce554aed32673953f7920;hb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;hp=f6a2bfecbc235162bf59c8641f5162e1b174f125;hpb=c3a3b7453182a388c6cc076bd2983384ba3d0529;p=ccan diff --git a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c index f6a2bfec..9537a3ea 100644 --- a/ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c +++ b/ccan/typesafe_cb/test/compile_ok-typesafe_cb-vars.c @@ -38,7 +38,7 @@ static void my_callback_post(struct undefined *undef, int x) { } -int main(int argc, char *argv[]) +int main(void) { struct undefined *handle = NULL; void (*cb)(struct undefined *undef) = my_callback;