X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstrset%2F_info;h=3f4f7733f23e6b926891835ff859e37133d5e5cf;hb=eb5cf99742db1b02cc5cac4be19226b58009a106;hp=a3192325db721c67e374c354375317216709c577;hpb=7c69053bd418bf0abd21f29e8cb11164684310ca;p=ccan diff --git a/ccan/strset/_info b/ccan/strset/_info index a3192325..3f4f7733 100644 --- a/ccan/strset/_info +++ b/ccan/strset/_info @@ -1,5 +1,6 @@ -#include #include "config.h" +#include +#include /** * strset - an ordered set of strings @@ -15,14 +16,14 @@ * Example: * // Print all words in order. * #include - * #include + * #include * #include * #include * * static bool dump(const char *member, void *unused) * { * printf("%s ", member); - * return false; + * return true; // Keep going with iteration. * } * * int main(void) @@ -31,7 +32,7 @@ * char *file, *word; * * strset_init(&words); - * file = grab_fd(NULL, 0, NULL); + * file = grab_fd(NULL, 0); * if (!file) * err(1, "Reading stdin"); * @@ -47,7 +48,7 @@ * // Given "foo bar" outputs "bar foo " * // Given "foo foo bar" outputs "bar foo " * - * License: Public domain (but some dependencies are LGPL!) + * License: CC0 (but some dependencies are LGPL!) * Author: Rusty Russell * Ccanlint: * license_depends_compat FAIL