From 1ca41775bbdc07cf67be79aebc566754c9c02855 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Wed, 28 Jun 2000 22:15:26 +0000 Subject: Yanked out the cstring_alloc() and cstring_lineFromFile() functions from utility.c and replaced them with get_line_from_file() from the new grep.c. Also changed declaration in internal.h and replaced instances of cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested them and they worked fine. --- internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 6e4f06cb5..41a72e18a 100644 --- a/internal.h +++ b/internal.h @@ -258,7 +258,7 @@ extern long getNum (const char *cp); extern pid_t* findPidByName( char* pidName); extern void *xmalloc (size_t size); extern int find_real_root_device_name(char* name); -extern char *cstring_lineFromFile(FILE *f); +extern char *get_line_from_file(FILE *file); /* These parse entries in /etc/passwd and /etc/group. This is desirable * for BusyBox since we want to avoid using the glibc NSS stuff, which -- cgit v1.2.3