diff options
-rw-r--r-- | util.c | 11 | ||||
-rw-r--r-- | util.h | 1 |
2 files changed, 0 insertions, 12 deletions
@@ -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; @@ -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)) |