diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-10 18:39:41 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-10 18:39:41 +0100 |
commit | 5fad442525c47c6f3e75d81b6368ec1fca5eccd1 (patch) | |
tree | 5ba9744b321dda315f6b924a5dec193d1ea14722 /include | |
parent | a71f22eb84b3e1ca8f433ca7db8096ee93b1adf0 (diff) |
Add the bufalloc_noterm() function
Diffstat (limited to 'include')
-rw-r--r-- | include/alloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/alloc.h b/include/alloc.h index 920a9a8..f96c28f 100644 --- a/include/alloc.h +++ b/include/alloc.h @@ -3,6 +3,7 @@ #include <stddef.h> -void *bufalloc(void *, size_t, size_t); +[[gnu::returns_nonnull]] void *bufalloc(void *, size_t, size_t); +void *bufalloc_noterm(void *, size_t, size_t); #endif /* !MLIB_ALLOC_H */ |