summaryrefslogtreecommitdiff
path: root/kernel/lib/list.h
diff options
context:
space:
mode:
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