X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstringmap%2F_info;h=c01c576c27fecfec243761af30295b8bdb6cc7cf;hb=440efa555b08324386fa15488cefaed68a791d6e;hp=49eff19cf359da262c25a5fda440410b28d24fa1;hpb=aa6b7489835d9bca43049ab6dc7f79d460539345;p=ccan diff --git a/ccan/stringmap/_info b/ccan/stringmap/_info index 49eff19c..c01c576c 100644 --- a/ccan/stringmap/_info +++ b/ccan/stringmap/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * stringmap - Macros for mapping strings to things @@ -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; }