X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Flicense_exists.c;h=53071c6345178641ab017eb5157a7e26ef1ced6b;hb=199023653cd6020218fbc4d0712591fc7ee0c5e1;hp=09a9b7e68c7054fe010f19418511663f4021d1ef;hpb=77818c1729ed1dc68b7b99a6def6ac534a0da07c;p=ccan diff --git a/tools/ccanlint/tests/license_exists.c b/tools/ccanlint/tests/license_exists.c index 09a9b7e6..53071c63 100644 --- a/tools/ccanlint/tests/license_exists.c +++ b/tools/ccanlint/tests/license_exists.c @@ -35,6 +35,9 @@ static const char *expected_link(enum license license) case LICENSE_MIT: return "../../licenses/BSD-MIT"; + case LICENSE_CC0: + return "../../licenses/CC0"; + default: return NULL; } @@ -63,7 +66,6 @@ static void handle_license_link(struct manifest *m, struct score *score) extern struct ccanlint license_exists; static void check_has_license(struct manifest *m, - bool keep, unsigned int *timeleft, struct score *score) { char buf[PATH_MAX];