X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_compile.c;h=0bafcc64e5ddb6124d956eb265c24fe62eff7ce9;hp=f6995085c4f08d42ebe9a5c2feb9037a676f08c4;hb=HEAD;hpb=9e207bca5bf5e0a1e3653a91649414fab793c801 diff --git a/tools/ccanlint/tests/tests_compile.c b/tools/ccanlint/tests/tests_compile.c index f6995085..0bafcc64 100644 --- a/tools/ccanlint/tests/tests_compile.c +++ b/tools/ccanlint/tests/tests_compile.c @@ -16,7 +16,7 @@ #include "reduce_features.h" #include "tests_compile.h" -static const char *can_build(struct manifest *m) +static const char *can_build(struct manifest *m UNNEEDED) { if (safe_mode) return "Safe mode enabled"; @@ -54,7 +54,7 @@ char *test_obj_list(const struct manifest *m, bool link_with_module, return list; } -char *test_lib_list(const struct manifest *m, enum compile_type ctype) +char *test_lib_list(const struct manifest *m, enum compile_type ctype UNNEEDED) { unsigned int i; char **libs; @@ -211,7 +211,7 @@ struct ccanlint tests_compile = { REGISTER_TEST(tests_compile); -static const char *features_reduced(struct manifest *m) +static const char *features_reduced(struct manifest *m UNNEEDED) { if (features_were_reduced) return NULL;