X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftalloc%2F_info;h=182299eaed2554910090892b9e3a63bfb5d1b867;hp=9a189455bb27cfcdf8d02332e055c1a2d7003470;hb=HEAD;hpb=8fc7a90a8db345c4276419d11f8731afc63f65f5 diff --git a/ccan/talloc/_info b/ccan/talloc/_info index 9a189455..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); @@ -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; }