aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-03-10 18:39:41 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-03-10 18:39:41 +0100
commit5fad442525c47c6f3e75d81b6368ec1fca5eccd1 (patch)
tree5ba9744b321dda315f6b924a5dec193d1ea14722 /include
parenta71f22eb84b3e1ca8f433ca7db8096ee93b1adf0 (diff)
Add the bufalloc_noterm() function
Diffstat (limited to 'include')
-rw-r--r--include/alloc.h3
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 */