X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fblock_pool%2F_info;h=e2169765a94e3e8ee05158e401599e139ea10ebe;hp=245ed1a900166b8a621048bde969824cd6256761;hb=0fe2d094b262f6e8bed798930e8c4716d33d5dc7;hpb=18636637ee013ef828cb04b2b7bb4a4922324475 diff --git a/ccan/block_pool/_info b/ccan/block_pool/_info index 245ed1a9..e2169765 100644 --- a/ccan/block_pool/_info +++ b/ccan/block_pool/_info @@ -1,10 +1,9 @@ +#include "config.h" #include #include -#include "config.h" /** - * block_pool - An efficient allocator for blocks that don't need to be - * resized or freed. + * block_pool - An efficient allocator for blocks that don't need to be resized or freed. * * block_pool allocates blocks by packing them into buffers, making the * overhead per block virtually zero. Because of this, you cannot resize or @@ -36,8 +35,9 @@ * return 0; * } * - * Author: Joey Adams - * License: BSD + * Author: Joey Adams + * License: MIT + * Version: 0.1 */ int main(int argc, char *argv[]) { @@ -50,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; }