diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-31 14:13:29 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-31 14:14:39 +0200 |
commit | 8610ec4aac6027e702d0aaea0331ccaa41489834 (patch) | |
tree | e3210fa129706bc1910581d173dd200004465f43 /include | |
parent | d17632fadd1f901aa1fd41aceb06663019d73ade (diff) |
Remove unused list implementation
Diffstat (limited to 'include')
-rw-r--r-- | include/list.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/list.h b/include/list.h deleted file mode 100644 index 012f216..0000000 --- a/include/list.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _SEATD_LIST_H -#define _SEATD_LIST_H - -#include <stddef.h> - -struct list { - size_t capacity; - size_t length; - void **items; -}; - -void list_init(struct list *); -void list_free(struct list *list); -void list_add(struct list *list, void *item); -void list_insert(struct list *list, size_t index, void *item); -void list_del(struct list *list, size_t index); -void list_concat(struct list *list, const struct list *source); -void list_truncate(struct list *list); -void *list_pop_front(struct list *list); -void *list_pop_back(struct list *list); -size_t list_find(struct list *list, const void *item); - -#endif |