X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Forder%2Ftest%2Fcompile_fail_2.c;fp=ccan%2Forder%2Ftest%2Fcompile_fail_2.c;h=595ffcbbab62c466239bb35e077a06a2fa9a3637;hp=5a7126d87703c9291e885cf20562f7d766c7b5ff;hb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;hpb=c3a3b7453182a388c6cc076bd2983384ba3d0529 diff --git a/ccan/order/test/compile_fail_2.c b/ccan/order/test/compile_fail_2.c index 5a7126d8..595ffcbb 100644 --- a/ccan/order/test/compile_fail_2.c +++ b/ccan/order/test/compile_fail_2.c @@ -12,7 +12,7 @@ typedef int ctx_t; typedef struct cmp_info ctx_t; #endif -int main(int argc, char *argv[]) +int main(void) { total_order_cb(cb0, struct item, struct cmp_info *) = fancy_cmp; _total_order_cb cb1 = total_order_cast(fancy_cmp, struct item,