diff options
author | Mark Whitley <markw@lineo.com> | 2000-06-28 22:15:26 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-06-28 22:15:26 +0000 |
commit | 1ca41775bbdc07cf67be79aebc566754c9c02855 (patch) | |
tree | 0ac134f0a80036aec272b04c3a057ea2ae055b20 /internal.h | |
parent | d37218941c37795cc8e96ddb3312d83fb2269d5a (diff) | |
download | busybox-w32-1ca41775bbdc07cf67be79aebc566754c9c02855.tar.gz busybox-w32-1ca41775bbdc07cf67be79aebc566754c9c02855.tar.bz2 busybox-w32-1ca41775bbdc07cf67be79aebc566754c9c02855.zip |
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.
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
258 | extern pid_t* findPidByName( char* pidName); | 258 | extern pid_t* findPidByName( char* pidName); |
259 | extern void *xmalloc (size_t size); | 259 | extern void *xmalloc (size_t size); |
260 | extern int find_real_root_device_name(char* name); | 260 | extern int find_real_root_device_name(char* name); |
261 | extern char *cstring_lineFromFile(FILE *f); | 261 | extern char *get_line_from_file(FILE *file); |
262 | 262 | ||
263 | /* These parse entries in /etc/passwd and /etc/group. This is desirable | 263 | /* These parse entries in /etc/passwd and /etc/group. This is desirable |
264 | * for BusyBox since we want to avoid using the glibc NSS stuff, which | 264 | * for BusyBox since we want to avoid using the glibc NSS stuff, which |