]> git.ozlabs.org Git - ccan/blobdiff - ccan/crcsync/_info
ccanlint: Move ccanlint test options from _info comments to code
[ccan] / ccan / crcsync / _info
index 9ebb8bd8a01e7e844ccc62e90bc0454d11904781..7516f447480603c7722b61020953b9716980af50 100644 (file)
@@ -71,9 +71,6 @@
  *
  * License: LGPL (v2.1 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
- * 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;
 }