summaryrefslogtreecommitdiff
path: root/kernel/lib/list.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
committerAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
commit2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch)
tree7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/lib/list.h
parent051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff)
random changes made
Diffstat (limited to 'kernel/lib/list.h')
-rw-r--r--kernel/lib/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/lib/list.h b/kernel/lib/list.h
index 8c3cce4..6ab9e0b 100644
--- a/kernel/lib/list.h
+++ b/kernel/lib/list.h
@@ -8,6 +8,6 @@ struct list {
int list_init(struct list *list);
void list_reset(struct list *list);
void list_free(struct list *list);
-int list_add(struct list *list, void *entry);
+int list_add(struct list *list, void *entry, int *index);
int list_get(const struct list *list, int index, void **out);
#endif