Glenn L McGrath | 7ca04f3 | 2002-09-25 02:47:48 +0000 | [diff] [blame] | 1 | #include <stdlib.h> |
2 | #include <string.h> | ||||
3 | #include "unarchive.h" | ||||
4 | #include "libbb.h" | ||||
5 | |||||
Glenn L McGrath | 66125c8 | 2002-12-08 00:54:33 +0000 | [diff] [blame] | 6 | extern llist_t *llist_add_to(llist_t *old_head, char *new_item) |
Glenn L McGrath | 7ca04f3 | 2002-09-25 02:47:48 +0000 | [diff] [blame] | 7 | { |
8 | llist_t *new_head; | ||||
9 | |||||
10 | new_head = xmalloc(sizeof(llist_t)); | ||||
11 | new_head->data = new_item; | ||||
12 | new_head->link = old_head; | ||||
13 | |||||
14 | return(new_head); | ||||
15 | } |