aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.c11
-rw-r--r--util.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/util.c b/util.c
index 22300ba..1e44194 100644
--- a/util.c
+++ b/util.c
@@ -126,17 +126,6 @@ listinsert(struct list *list, struct list *new)
}
void
-listinsertlist(struct list *list, struct list *new)
-{
- if (new->next == new)
- return;
- new->next->prev = list;
- new->prev->next = list;
- list->next->prev = new->prev;
- list->next = new->next;
-}
-
-void
listremove(struct list *list)
{
list->next->prev = list->prev;
diff --git a/util.h b/util.h
index 25cca14..504662b 100644
--- a/util.h
+++ b/util.h
@@ -36,7 +36,6 @@ void *xmalloc(size_t);
char *progname(char *, char *);
void listinsert(struct list *, struct list *);
-void listinsertlist(struct list *, struct list *);
void listremove(struct list *);
#define listelement(list, type, member) (type *)((char *)list - offsetof(type, member))