summaryrefslogtreecommitdiffhomepage
path: root/lib/boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/boot.h')
-rw-r--r--lib/boot.h4
1 files changed, 4 insertions, 0 deletions
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();