]> git.ozlabs.org Git - ccan/blobdiff - ccan/talloc/_info
talloc: remove const warning in _info example.
[ccan] / ccan / talloc / _info
index cf2ea7d18b8983d0aaa62417307fd4737d981bc6..b229ba2583b1001ce2569919cbb1b2d84be8eeb5 100644 (file)
@@ -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,7 @@ int main(int argc, char *argv[])
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/compiler\n");
                printf("ccan/typesafe_cb\n");
+               printf("ccan/failtest\n");
                return 0;
        }