aboutsummaryrefslogtreecommitdiff
path: root/libbb/llist_add_to.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-29 12:55:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-09-29 12:55:10 +0000
commitbee9eb1a9d04503d58070bd1946cc2c0538fcf95 (patch)
tree013e17fde8c199768a4195d057371372a330e765 /libbb/llist_add_to.c
parent3e245c9e21f991004b93c0892abdb5f040d37eff (diff)
downloadbusybox-bee9eb1a9d04503d58070bd1946cc2c0538fcf95.tar.gz
- rename llist_add_to.c to llist.c
- move llist_add_to_end() from ifupdown.c to libbb/llist.c
Diffstat (limited to 'libbb/llist_add_to.c')
-rw-r--r--libbb/llist_add_to.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/libbb/llist_add_to.c b/libbb/llist_add_to.c
deleted file mode 100644
index 61e53f0c1..000000000
--- a/libbb/llist_add_to.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-#include "unarchive.h"
-#include "libbb.h"
-
-extern llist_t *llist_add_to(llist_t *old_head, char *new_item)
-{
- llist_t *new_head;
-
- new_head = xmalloc(sizeof(llist_t));
- new_head->data = new_item;
- new_head->link = old_head;
-
- return(new_head);
-}