diff options
Diffstat (limited to 'src/alloc.h')
-rw-r--r-- | src/alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.h b/src/alloc.h index 301971c..80e2384 100644 --- a/src/alloc.h +++ b/src/alloc.h @@ -8,6 +8,6 @@ /* Allocate a buffer of NMEMB elements of size SIZE. If PTR is non-null then reallocate the buffer it points to. Aborts on out-of-memory or overflow. */ void *bufalloc(void *ptr, size_t nmemb, size_t size) - __attribute__((returns_nonnull)); + __attribute__((returns_nonnull, alloc_size(2, 3))); #endif /* !ORYX_ALLOC_H */ |