From e3ff175cc3a5fdd1d65a34d081955b9808c49eca Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Sat, 27 Apr 2024 18:32:32 +0200 Subject: Kernel: Make "relist" able to dynamically resize --- kernel/lib/relist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/lib/relist.h') diff --git a/kernel/lib/relist.h b/kernel/lib/relist.h index 96625ba..734e5dc 100644 --- a/kernel/lib/relist.h +++ b/kernel/lib/relist.h @@ -14,6 +14,6 @@ void relist_free(struct relist *list); int relist_clone(struct relist *in, struct relist *out); int relist_add(struct relist *list, void *value, u32 *index); int relist_set(struct relist *list, u32 index, void *value); -int relist_get(const struct relist *list, u32 index, void **out); +int relist_get(const struct relist *list, u32 index, void **out, int *end); int relist_remove(struct relist *list, u32 index); #endif -- cgit v1.2.3