X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftalloc%2F_info;h=0ae45e73d814d1aebadd4d884463a26125a3c7c9;hb=89c017f354fdc20ffd48d93d00105b383dbb00da;hp=46173d96cafa40fc0abbbb2586e5f553e3fedf55;hpb=87aba1fa2abc28ff06f82e30cde3fa3d991e8e18;p=ccan diff --git a/ccan/talloc/_info b/ccan/talloc/_info index 46173d96..0ae45e73 100644 --- a/ccan/talloc/_info +++ b/ccan/talloc/_info @@ -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[]) { @@ -99,6 +100,10 @@ int main(int argc, char *argv[]) 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; }