]> git.ozlabs.org Git - ccan/blobdiff - ccan/stringmap/_info
ccanlint: Move ccanlint test options from _info comments to code
[ccan] / ccan / stringmap / _info
index 1f6465b6c8c46cf93421369c15e63cc2f42c386c..c01c576c27fecfec243761af30295b8bdb6cc7cf 100644 (file)
@@ -52,9 +52,6 @@
  * Authors: Joey Adams, Anders Magnusson
  * License: BSD (3 clause)
  * Version: 0.2
- * Ccanlint:
- *     // We actually depend (indirectly) on the LGPL talloc
- *     license_depends_compat FAIL
  */
 int main(int argc, char *argv[])
 {
@@ -67,5 +64,11 @@ int main(int argc, char *argv[])
                return 0;
        }
 
+       if (strcmp(argv[1], "ccanlint") == 0) {
+               /* We actually depend (indirectly) on the LGPL talloc */
+               printf("license_depends_compat FAIL\n");
+               return 0;
+       }
+
        return 1;
 }