X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fccan_tokenizer%2F_info;h=f5116b4fc80103957d6e74feb7ee1ac8b7def9c3;hp=ee1477a9c31d6dc16359b0dabd54a13b9a4700d4;hb=7d1f0c73e4d321561abb74f82c8be97f10d69836;hpb=806f94eb6c0c3eb521458901a23e470037ede807 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; }