X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fgrab_file%2Fgrab_file.h;h=b2bd31ada26108d0c5a179b07c744bcdc26f692e;hp=5f7e37c6de004a634d04441dcdb031b197581cfd;hb=18636637ee013ef828cb04b2b7bb4a4922324475;hpb=9965fc25fcc92dc76d1cd4cf9595dc3dc9ebc586 diff --git a/ccan/grab_file/grab_file.h b/ccan/grab_file/grab_file.h index 5f7e37c6..b2bd31ad 100644 --- a/ccan/grab_file/grab_file.h +++ b/ccan/grab_file/grab_file.h @@ -14,8 +14,11 @@ * byte after the end of the content will always be NUL. * * Example: + * #include + * #include + * ... * // Return all of standard input, as lines. - * char **read_as_lines(void) + * static char **read_stdin_as_lines(void) * { * char **lines, *all; * @@ -42,7 +45,7 @@ void *grab_fd(const void *ctx, int fd, size_t *size); * * Example: * // Return all of a given file, as lines. - * char **read_as_lines(const char *filename) + * static char **read_file_as_lines(const char *filename) * { * char **lines, *all; *