X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fmain_header_compiles.c;h=1b741d4fd7c5c4b7aa0d77694023f42d4db04f35;hb=d872b7f22bc98092cad2aa4a456973bdbdb2c8fb;hp=f54c6173a53578e76c6e805cf281ef7319a6c19a;hpb=e5e620e2dba2868f2d84a1f19a07c5e7a9cd3986;p=ccan diff --git a/tools/ccanlint/tests/main_header_compiles.c b/tools/ccanlint/tests/main_header_compiles.c index f54c6173..1b741d4f 100644 --- a/tools/ccanlint/tests/main_header_compiles.c +++ b/tools/ccanlint/tests/main_header_compiles.c @@ -13,7 +13,7 @@ #include #include -static const char *can_build(struct manifest *m) +static const char *can_build(struct manifest *m UNNEEDED) { if (safe_mode) return "Safe mode enabled"; @@ -34,7 +34,8 @@ static struct ccan_file *main_header(struct manifest *m) } static void check_includes_build(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { char *contents; char *tmpsrc, *tmpobj, *cmdout;