X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Fstr%2F_info;h=f95fc10eb8d35426ab7ebb384759413a01340544;hp=24229bca287a09511a70b7ecd876071b91ef623a;hb=15ed4f453713f1a7bdeec22b53704819fa3d447f;hpb=737dcc0fe959d67eb29f57df37b0d7f188e0213d diff --git a/ccan/tal/str/_info b/ccan/tal/str/_info index 24229bca..f95fc10e 100644 --- a/ccan/tal/str/_info +++ b/ccan/tal/str/_info @@ -24,10 +24,10 @@ * textfile = grab_file(NULL, argv[1], NULL); * if (!textfile) * err(1, "Failed reading %s", argv[1]); - * lines = strsplit(textfile, textfile, "\n", STR_EMPTY_OK); + * lines = tal_strsplit(textfile, textfile, "\n", STR_EMPTY_OK); * * // Join them back together with two linefeeds. - * printf("%s", strjoin(textfile, lines, "\n\n", STR_TRAIL)); + * printf("%s", tal_strjoin(textfile, lines, "\n\n", STR_TRAIL)); * * // Free everything, just because we can. * tal_free(textfile);