bb_get_[chomped]line_from_file wasn't descriptive enough.

Renaming...
This commit is contained in:
Denis Vlasenko 2006-10-12 22:43:20 +00:00
parent 372686bde7
commit 2d5ca60bfb
20 changed files with 33 additions and 32 deletions

View file

@ -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);