X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcrcsync%2F_info;h=7516f447480603c7722b61020953b9716980af50;hp=e6d51784e87d917e16308f68e93b45846f5e7c7c;hb=HEAD;hpb=beb01ef8986c8957da74d3ca2a13d48a08277be6 diff --git a/ccan/crcsync/_info b/ccan/crcsync/_info index e6d51784..7516f447 100644 --- a/ccan/crcsync/_info +++ b/ccan/crcsync/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * crcsync - routines to use crc for an rsync-like protocol. @@ -71,9 +71,6 @@ * * License: LGPL (v2.1 or any later version) * Author: Rusty Russell - * Ccanlint: - * // We actually depend on the GPL crc routines, so not really LGPL :( - * license_depends_compat FAIL */ int main(int argc, char *argv[]) { @@ -88,6 +85,11 @@ int main(int argc, char *argv[]) printf("ccan/array_size\n"); return 0; } + if (strcmp(argv[1], "ccanlint") == 0) { + /* We actually depend on the GPL crc routines, so not really LGPL :( */ + printf("license_depends_compat FAIL\n"); + return 0; + } return 1; }