projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Another bzip2 update and speedup from Manuel Novoa III, with some
[oweals/busybox.git]
/
libbb
/
llist_add_to.c
1
#include <stdlib.h>
2
#include <string.h>
3
#include "unarchive.h"
4
#include "libbb.h"
5
6
extern llist_t *llist_add_to(llist_t *old_head, 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
}