]> git.ozlabs.org Git - ccan/blobdiff - ccan/block_pool/_info
ccanlint: Move ccanlint test options from _info comments to code
[ccan] / ccan / block_pool / _info
index a42cdba4b5c6148ddf347ea3087cd2cc63cef3c8..e2169765a94e3e8ee05158e401599e139ea10ebe 100644 (file)
@@ -38,9 +38,6 @@
  * Author: Joey Adams <joeyadams3.14159@gmail.com>
  * License: MIT
  * Version: 0.1
- * Ccanlint:
- *     // We actually depend on the LGPL talloc
- *     license_depends_compat FAIL
  */
 int main(int argc, char *argv[])
 {
@@ -53,5 +50,11 @@ int main(int argc, char *argv[])
                return 0;
        }
 
+       if (strcmp(argv[1], "ccanlint") == 0) {
+               /* We actually depend on the LGPL talloc */
+               printf("license_depends_compat FAIL\n");
+               return 0;
+       }
+
        return 1;
 }