X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftalloc%2F_info;h=182299eaed2554910090892b9e3a63bfb5d1b867;hp=ed1a5dda44fc7d18faa43c874ef1f840db3d0e3c;hb=7d1f0c73e4d321561abb74f82c8be97f10d69836;hpb=ac0e87d7ecf790c187ce3c5d837b971fdd016b57 diff --git a/ccan/talloc/_info b/ccan/talloc/_info index ed1a5dda..182299ea 100644 --- a/ccan/talloc/_info +++ b/ccan/talloc/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * talloc - tree allocator routines @@ -49,7 +49,8 @@ * } * * // This function opens a writable pipe to the given command. - * struct command *open_output_cmd(const void *ctx, char *fmt, ...) + * static struct command *open_output_cmd(const void *ctx, + * const char *fmt, ...) * { * va_list ap; * struct command *cmd = talloc(ctx, struct command); @@ -89,7 +90,7 @@ * return 0; * } * - * Licence: LGPL (2 or any later version) + * License: LGPL (v2.1 or any later version) */ int main(int argc, char *argv[]) { @@ -97,9 +98,15 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { + printf("ccan/compiler\n"); printf("ccan/typesafe_cb\n"); return 0; } + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/failtest\n"); + return 0; + } + return 1; }