summaryrefslogtreecommitdiffstats
path: root/lib/linkedlist.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-05-22 13:00:41 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-05-22 13:00:41 -0400
commitace65b453151845bc361f21f3e5b651c35f9f126 (patch)
tree262ebd29b0ca1d8584f0b6f1efa7a00d9f4f3e43 /lib/linkedlist.h
parentf004c1ade8d617a82cea2fe249434cccb47a2358 (diff)
downloadjove-kernel-master.tar.gz
jove-kernel-master.tar.bz2
jove-kernel-master.zip
massive refactor for mp and organizationHEADmaster
Diffstat (limited to 'lib/linkedlist.h')
-rw-r--r--lib/linkedlist.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/linkedlist.h b/lib/linkedlist.h
deleted file mode 100644
index 26c148e..0000000
--- a/lib/linkedlist.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef JOVE_LIB_LINKEDLIST_H
-#define JOVE_LIB_LINKEDLIST_H 1
-
-#include <stdint.h>
-#include <stddef.h>
-
-struct SLLNode {
- struct SLLNode *next;
- char data[];
-};
-
-/*Singly Linked List*/
-struct SLinkedList
-{
- struct SLLNode *head;
- struct SLLNode *tail;
-
- size_t obj_size;
- size_t count;
-};
-
-void sll_new(struct SLinkedList *list, size_t obj_size);
-void sll_push(struct SLinkedList *list, void *node);
-void *sll_get(struct SLinkedList *list, size_t index);
-
-#endif