X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Forder%2Ftest%2Fcompile_fail_1.c;h=3eed7aa6484b0cd372e728f3f868f80b878bc4c9;hp=ba63ca1ef605fd315f81948b6c5cdf7e95c18a55;hb=61f58ff94e35c9b8ac5488554e2554bc5c9888b3;hpb=c2a3098b254830f33e800bfa398882786632631e diff --git a/ccan/order/test/compile_fail_1.c b/ccan/order/test/compile_fail_1.c index ba63ca1e..3eed7aa6 100644 --- a/ccan/order/test/compile_fail_1.c +++ b/ccan/order/test/compile_fail_1.c @@ -12,7 +12,7 @@ typedef int item_t; typedef struct item item_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,