diff options
author | Anton Kling <anton@kling.gg> | 2024-04-27 18:32:32 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-04-27 18:32:32 +0200 |
commit | e3ff175cc3a5fdd1d65a34d081955b9808c49eca (patch) | |
tree | 3cf41a97d8800ca92c4781847185975a0c95dbef /kernel/lib/relist.h | |
parent | 02c27583a539c4e8073509536d328581cf1ba346 (diff) |
Kernel: Make "relist" able to dynamically resize
Diffstat (limited to 'kernel/lib/relist.h')
-rw-r--r-- | kernel/lib/relist.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |