]> git.ozlabs.org Git - ccan/blobdiff - ccan/strset/_info
strset: use tal instead of talloc in examples and tools.
[ccan] / ccan / strset / _info
index 1c7426e66973c2b7b3687ab1d3aca38d689848c9..4984959cee038665c9eaa0b9de8b9ea448109951 100644 (file)
@@ -15,7 +15,7 @@
  * Example:
  *     // Print all words in order.
  *     #include <ccan/strset/strset.h>
- *     #include <ccan/grab_file/grab_file.h>
+ *     #include <ccan/tal/grab_file/grab_file.h>
  *     #include <err.h>
  *     #include <string.h>
  *
@@ -31,7 +31,7 @@
  *             char *file, *word;
  *
  *             strset_init(&words);
- *             file = grab_fd(NULL, 0, NULL);
+ *             file = grab_fd(NULL, 0);
  *             if (!file)
  *                     err(1, "Reading stdin");
  *