From b1a7c10ba575384e8f4ffb6b642783bfbcf51b32 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 27 Apr 2021 17:37:13 +0200 Subject: Better malloc optimizations --- libs/libc/inc/def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/libc/inc/def.h') diff --git a/libs/libc/inc/def.h b/libs/libc/inc/def.h index f1201b9..134d8bb 100644 --- a/libs/libc/inc/def.h +++ b/libs/libc/inc/def.h @@ -35,6 +35,7 @@ typedef unsigned long long u64; #define NOINLINE ATTR((noinline)) #define DEPRECATED ATTR((deprecated)) #define NONNULL ATTR((nonnull)) +#define RET_NONNULL ATTR((returns_nonnull)) #define PURE ATTR((pure)) #define CONST ATTR((const)) #define FLATTEN ATTR((flatten)) -- cgit v1.2.3