From 8bb50782a5f0dd955a6fe18d381eb9322d1447e7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 26 May 2006 23:44:51 +0000 Subject: Change llist_add_* to take the address of the list rather than returning the new head, and change all the callers. --- editors/sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/sed.c b/editors/sed.c index a17d1e551..6585a60bd 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -683,7 +683,7 @@ static sed_cmd_t *branch_to(const char *label) static void append(char *s) { - bbg.append_head = llist_add_to_end(bbg.append_head, bb_xstrdup(s)); + llist_add_to_end(&bbg.append_head, bb_xstrdup(s)); } static void flush_append(void) -- cgit v1.2.3