]> git.ozlabs.org Git - ccan/blobdiff - ccan/stringmap/_info
take: add labels when CCAN_TAKE_DEBUG set, return in taken_any().
[ccan] / ccan / stringmap / _info
index 7fa97c09835d24f13ad252d0b7d667e38cd80a85..c01c576c27fecfec243761af30295b8bdb6cc7cf 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * stringmap - Macros for mapping strings to things
@@ -64,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;
 }