blob: 61e53f0c170b1e50c6b9b54a1bc5ba19e9675dfb [file] [log] [blame]
Glenn L McGrath7ca04f32002-09-25 02:47:48 +00001#include <stdlib.h>
2#include <string.h>
3#include "unarchive.h"
4#include "libbb.h"
5
Glenn L McGrath66125c82002-12-08 00:54:33 +00006extern llist_t *llist_add_to(llist_t *old_head, char *new_item)
Glenn L McGrath7ca04f32002-09-25 02:47:48 +00007{
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}