From 9f16b032d38613ca95e321e1d1e652c43129c68b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 15 Aug 2020 17:42:36 +0200 Subject: Added libgui --- lib/inc/list.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/inc/list.h (limited to 'lib/inc/list.h') 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 - -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 -- cgit v1.2.3