diff options
Diffstat (limited to 'include/alloc.h')
-rw-r--r-- | include/alloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/alloc.h b/include/alloc.h index 35223b3..6809287 100644 --- a/include/alloc.h +++ b/include/alloc.h @@ -7,8 +7,8 @@ #define ALLOC_OK 0 #define ALLOC_FAIL -1 -WARN_UNUSED_RESULT int am_malloc(usize size, void **mem); -WARN_UNUSED_RESULT int am_realloc(void *mem, usize new_size, void **new_mem); +CHECK_RESULT int am_malloc(usize size, void **mem); +CHECK_RESULT int am_realloc(void *mem, usize new_size, void **new_mem); void am_free(void *mem); #endif |