From af98571c6c0491c8a3af7270c95fd2fb512f48c0 Mon Sep 17 00:00:00 2001 From: markw 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. git-svn-id: svn://busybox.net/trunk/busybox@722 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dc.c') diff --git a/dc.c b/dc.c index 31a5471c3..5bf3bc984 100644 --- a/dc.c +++ b/dc.c @@ -170,7 +170,7 @@ int dc_main(int argc, char **argv) char *line = NULL; char *cursor = NULL; char *token = NULL; - while ((line = cstring_lineFromFile(stdin))) { + while ((line = get_line_from_file(stdin))) { cursor = line; len = number_of_tokens(line); for (i = 0; i < len; i++) { -- cgit v1.2.3-55-g6feb