diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
commit | 2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch) | |
tree | 08de18a783dbb518dfbe5832751a214aff7d0a7a /include/libbb.h | |
parent | 372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff) | |
download | busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.gz busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.bz2 busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.zip |
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index ac48411c0..767a3378b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -230,8 +230,9 @@ extern void erase_mtab(const char * name); | |||
230 | extern long *find_pid_by_name( const char* pidName); | 230 | extern long *find_pid_by_name( const char* pidName); |
231 | extern long *pidlist_reverse(long *pidList); | 231 | extern long *pidlist_reverse(long *pidList); |
232 | extern char *find_block_device(char *path); | 232 | extern char *find_block_device(char *path); |
233 | extern char *bb_get_line_from_file(FILE *file); | 233 | extern char *xmalloc_fgets(FILE *file); |
234 | extern char *bb_get_chomped_line_from_file(FILE *file); | 234 | /* Chops off '\n' from the end, unlike fgets: */ |
235 | extern char *xmalloc_getline(FILE *file); | ||
235 | extern char *bb_get_chunk_from_file(FILE *file, int *end); | 236 | extern char *bb_get_chunk_from_file(FILE *file, int *end); |
236 | extern off_t bb_copyfd_size(int fd1, int fd2, off_t size); | 237 | extern off_t bb_copyfd_size(int fd1, int fd2, off_t size); |
237 | extern off_t bb_copyfd_eof(int fd1, int fd2); | 238 | extern off_t bb_copyfd_eof(int fd1, int fd2); |