Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user