diff options
author | Marvin Borner | 2020-08-15 17:42:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-15 17:42:36 +0200 |
commit | 9f16b032d38613ca95e321e1d1e652c43129c68b (patch) | |
tree | 33f71a84f60b496ed31a128ec542c5341c754b0d /lib/inc/list.h | |
parent | 32b8722128dfb4ca9e814940a23c2b22a283bb12 (diff) |
Added libgui
Diffstat (limited to 'lib/inc/list.h')
-rw-r--r-- | lib/inc/list.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/inc/list.h b/lib/inc/list.h deleted file mode 100644 index 5deaf59..0000000 --- a/lib/inc/list.h +++ /dev/null @@ -1,25 +0,0 @@ -// MIT License, Copyright (c) 2020 Marvin Borner - -#ifndef LIST_H -#define LIST_H - -#include <def.h> - -struct list { - struct node *head; -}; - -struct node { - void *data; - int nonce; - struct node *next; - struct node *prev; -}; - -struct list *list_new(); -/* struct node *list_new_node(); */ // TODO: Make node-specific things static/private? -/* void list_add_node(struct list *list, struct node *node); */ -void list_add(struct list *list, void *data); -void list_remove(struct list *list, struct node *node); - -#endif |