X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Favoids_cpp_reserved.c;fp=tools%2Fccanlint%2Ftests%2Favoids_cpp_reserved.c;h=8e49618023ac814dce9f2faabcede4c077440651;hp=78ba6ca8b87fbecdbd7a23db1593d424f537ae22;hb=1ddb7420f1ac53c060aec62e26702d1d7029fc54;hpb=04bcddcc084cf0ef05945c7a9d609e08e30387be diff --git a/tools/ccanlint/tests/avoids_cpp_reserved.c b/tools/ccanlint/tests/avoids_cpp_reserved.c index 78ba6ca8..8e496180 100644 --- a/tools/ccanlint/tests/avoids_cpp_reserved.c +++ b/tools/ccanlint/tests/avoids_cpp_reserved.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_headers_no_cpp(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { char *contents; char *tmpsrc, *tmpobj, *cmdout;