From f40be8b5b6227775901a99946779661d0b4439e6 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 1 Nov 2020 12:35:00 +0100 Subject: Added files demo and needed functions --- libc/inc/list.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/inc') diff --git a/libc/inc/list.h b/libc/inc/list.h index 0c3668d..50b21c2 100644 --- a/libc/inc/list.h +++ b/libc/inc/list.h @@ -17,6 +17,7 @@ struct node { }; struct list *list_new(); +void list_destroy(struct list *list); /* struct node *list_new_node(); */ // TODO: Make node-specific things static/private? /* void list_add_node(struct list *list, struct node *node); */ struct node *list_add(struct list *list, void *data); -- cgit v1.2.3