]> git.ozlabs.org Git - ccan/blobdiff - ccan/talloc/_info
talloc: remove const warning in _info example.
[ccan] / ccan / talloc / _info
index 9a189455bb27cfcdf8d02332e055c1a2d7003470..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);