X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstringmap%2F_info;h=c01c576c27fecfec243761af30295b8bdb6cc7cf;hb=17a81baf84a9c8f89603173be3169a0a2017702d;hp=b5e78755e12cf6daf25bbe4ea4483e0106f24c93;hpb=1fe7f55b1efc5deefb20815a03b56c8ef0f6dc53;p=ccan diff --git a/ccan/stringmap/_info b/ccan/stringmap/_info index b5e78755..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 @@ -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; }