aboutsummaryrefslogtreecommitdiff
path: root/lib/inc/list.h
diff options
context:
space:
mode:
authorMarvin Borner2020-08-15 17:42:36 +0200
committerMarvin Borner2020-08-15 17:42:36 +0200
commit9f16b032d38613ca95e321e1d1e652c43129c68b (patch)
tree33f71a84f60b496ed31a128ec542c5341c754b0d /lib/inc/list.h
parent32b8722128dfb4ca9e814940a23c2b22a283bb12 (diff)
Added libgui
Diffstat (limited to 'lib/inc/list.h')
-rw-r--r--lib/inc/list.h25
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