From e6ff3efb7e2f44f5fb2463435e3f45300d7223a6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 8 Dec 2025 03:02:46 -0500 Subject: chore: define `_Nonnull` when not available. Signed-off-by: Amlal El Mahrouss --- lib/boot.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/boot.h b/lib/boot.h index e81a671..0badfc0 100644 --- a/lib/boot.h +++ b/lib/boot.h @@ -126,6 +126,10 @@ static inline void __sync_synchronize(void) { #define NB_BOOT_VER 0x101 +#ifndef _Nonnull +#define _Nonnull +#endif // ifndef _Nonnull + #define NB_BOOT_CALL(struct, offset) \ volatile cb_proc_t proc_##offset = (volatile cb_proc_t)(struct->offset); \ proc_##offset(); -- cgit v1.2.3