X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fccan_tokenizer%2F_info;h=f5116b4fc80103957d6e74feb7ee1ac8b7def9c3;hp=ee1477a9c31d6dc16359b0dabd54a13b9a4700d4;hb=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;hpb=25b7406d11ea3703be864097af66ce95611dde72 diff --git a/ccan/ccan_tokenizer/_info b/ccan/ccan_tokenizer/_info index ee1477a9..f5116b4f 100644 --- a/ccan/ccan_tokenizer/_info +++ b/ccan/ccan_tokenizer/_info @@ -82,12 +82,6 @@ * } * * License: BSD (3 clause) - * - * Ccanlint: - * // We actually depend on the LGPL dependencies - * license_depends_compat FAIL - * // We don't put the license line in all files. - * license_comment FAIL */ int main(int argc, char *argv[]) { @@ -101,5 +95,13 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "ccanlint") == 0) { + /* We actually depend on the LGPL dependencies */ + printf("license_depends_compat FAIL\n"); + /* We don't put the license line in all files. */ + printf("license_comment FAIL\n"); + return 0; + } + return 1; }