X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstrset%2F_info;h=982a9c0f851ae7d5485b42cc2e53578125613e14;hb=ba89419ac9074d930eec7ba72c378831c56ed060;hp=b5df9dfa5dc9e1a1aca0c52b1b3b479017ace365;hpb=bb2a75f445f408e43730fc55a1a978581ebe9b96;p=ccan diff --git a/ccan/strset/_info b/ccan/strset/_info index b5df9dfa..982a9c0f 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,7 +16,7 @@ * Example: * // Print all words in order. * #include - * #include + * #include * #include * #include * @@ -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"); * @@ -44,10 +45,10 @@ * printf("\n"); * return 0; * } - * // Given "foo bar" outputs "bar foo " - * // Given "foo foo bar" outputs "bar foo " + * // Given "foo bar" outputs "bar foo \n" + * // Given "foo foo bar" outputs "bar foo \n" * - * License: Public domain (but some dependencies are LGPL!) + * License: CC0 (but some dependencies are LGPL!) * Author: Rusty Russell * Ccanlint: * license_depends_compat FAIL