diff options
Diffstat (limited to 'archival/libunarchive/add_to_list.c')
-rw-r--r-- | archival/libunarchive/add_to_list.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/archival/libunarchive/add_to_list.c b/archival/libunarchive/add_to_list.c deleted file mode 100644 index 052bca351..000000000 --- a/archival/libunarchive/add_to_list.c +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | #include <stdlib.h> | ||
2 | #include <string.h> | ||
3 | #include "unarchive.h" | ||
4 | #include "libbb.h" | ||
5 | |||
6 | extern const llist_t *add_to_list(const llist_t *old_head, const char *new_item) | ||
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 | } | ||