diff options
author | Ian Moffett <ian@osmora.org> | 2023-12-13 14:25:19 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2023-12-13 14:28:10 -0500 |
commit | 88e9b3b3a6060ab1035e0576519e18bb64edda09 (patch) | |
tree | 2371978ee7c9cfde30879214cd2faeadf18a6cb5 /sys/include/vm | |
parent | 32611417417466af6d277a85c280d0dc6ab02575 (diff) |
kernel: vm: Add support for dynalloc pool resize
This commit creates a wrapper that allows resizing of a memory pool
created by dynalloc()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm')
-rw-r--r-- | sys/include/vm/dynalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/vm/dynalloc.h b/sys/include/vm/dynalloc.h index 4a70f2c..8c51a55 100644 --- a/sys/include/vm/dynalloc.h +++ b/sys/include/vm/dynalloc.h @@ -33,6 +33,7 @@ #include <sys/types.h> void *dynalloc(size_t sz); +void *dynrealloc(void *old_ptr, size_t newsize); void dynfree(void *ptr); #endif /* !_VM_DYNALLOC_H_ */ |