]> git.ozlabs.org Git - ccan/blobdiff - ccan/stringmap/_info
io: io_close_taken_fd to steal fd from conn.
[ccan] / ccan / stringmap / _info
index b5e78755e12cf6daf25bbe4ea4483e0106f24c93..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
@@ -50,7 +50,8 @@
  * }
  *
  * Authors: Joey Adams, Anders Magnusson
- * License: BSD
+ * License: BSD (3 clause)
+ * Version: 0.2
  */
 int main(int argc, char *argv[])
 {
@@ -63,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;
 }