aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 23:44:51 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 23:44:51 +0000
commitab1c37300f2a6a0215c17cd683df316d8a1e8f59 (patch)
treeb717c772c6fef53c34b723341a8c5b12ccb57902 /editors/sed.c
parentc806c321575528e76c4479666d398a0534cb81d8 (diff)
downloadbusybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.gz
busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.bz2
busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.zip
Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
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)
683 683
684static void append(char *s) 684static void append(char *s)
685{ 685{
686 bbg.append_head = llist_add_to_end(bbg.append_head, bb_xstrdup(s)); 686 llist_add_to_end(&bbg.append_head, bb_xstrdup(s));
687} 687}
688 688
689static void flush_append(void) 689static void flush_append(void)