X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstr_talloc%2F_info;h=bcba699caf68728b7a7322123cef499424735f35;hb=3e44cbb718d3b315fea131106f6ccc6feb11ccc0;hp=f6214ce79fe09f566dc52296834c865f6953d277;hpb=fa64b4599366818ea546c7db026f37d987d181a8;p=ccan diff --git a/ccan/str_talloc/_info b/ccan/str_talloc/_info index f6214ce7..bcba699c 100644 --- a/ccan/str_talloc/_info +++ b/ccan/str_talloc/_info @@ -25,7 +25,7 @@ * textfile = grab_file(NULL, argv[1], NULL); * if (!textfile) * err(1, "Failed reading %s", argv[1]); - * lines = strsplit(textfile, textfile, "\n", NULL); + * lines = strsplit(textfile, textfile, "\n"); * * // Join them back together with two linefeeds. * printf("%s", strjoin(textfile, lines, "\n\n")); @@ -35,7 +35,7 @@ * return 0; * } * - * License: LGPL (2 or any later version) + * License: LGPL (v2.1 or any later version) * Author: Rusty Russell */ int main(int argc, char *argv[]) @@ -46,7 +46,6 @@ int main(int argc, char *argv[]) if (strcmp(argv[1], "depends") == 0) { printf("ccan/str\n"); printf("ccan/talloc\n"); - printf("ccan/noerr\n"); return 0; }