diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-13 02:43:20 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-13 02:43:20 +0400 |
commit | 2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch) | |
tree | 08de18a783dbb518dfbe5832751a214aff7d0a7a /libbb | |
parent | 372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff) |
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/get_line_from_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/get_line_from_file.c b/libbb/get_line_from_file.c index 722a904b5..969d808cf 100644 --- a/libbb/get_line_from_file.c +++ b/libbb/get_line_from_file.c @@ -48,7 +48,7 @@ char *bb_get_chunk_from_file(FILE * file, int *end) } /* Get line, including trailing \n if any */ -char *bb_get_line_from_file(FILE * file) +char *xmalloc_fgets(FILE * file) { int i; @@ -56,7 +56,7 @@ char *bb_get_line_from_file(FILE * file) } /* Get line. Remove trailing \n */ -char *bb_get_chomped_line_from_file(FILE * file) +char *xmalloc_getline(FILE * file) { int i; char *c = bb_get_chunk_from_file(file, &i); |