X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftalloc%2F_info;h=182299eaed2554910090892b9e3a63bfb5d1b867;hb=ed7b9262aafed5df37dd70f0b604536576636056;hp=cf2ea7d18b8983d0aaa62417307fd4737d981bc6;hpb=7f63d84eb712c54c57c3d4e9a92ffefe2f1b2ade;p=ccan diff --git a/ccan/talloc/_info b/ccan/talloc/_info index cf2ea7d1..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. - * static 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; * } * - * License: LGPL (2 or any later version) + * License: LGPL (v2.1 or any later version) */ int main(int argc, char *argv[]) { @@ -102,5 +103,10 @@ int main(int argc, char *argv[]) return 0; } + if (strcmp(argv[1], "testdepends") == 0) { + printf("ccan/failtest\n"); + return 0; + } + return 1; }