X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fmodule_links.c;h=9a2c0be5b4ccf2b36a59227f7c757c2477b41487;hp=403fff1a56120d31926359ca64af51afd3480732;hb=1ddb7420f1ac53c060aec62e26702d1d7029fc54;hpb=04bcddcc084cf0ef05945c7a9d609e08e30387be diff --git a/tools/ccanlint/tests/module_links.c b/tools/ccanlint/tests/module_links.c index 403fff1a..9a2c0be5 100644 --- a/tools/ccanlint/tests/module_links.c +++ b/tools/ccanlint/tests/module_links.c @@ -14,7 +14,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"; @@ -65,7 +65,8 @@ static char *lib_list(const struct manifest *m) } static void check_use_build(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { char *contents; char *tmpfile, *cmdout;