diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 03:02:46 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-08 03:02:46 -0500 |
| commit | e6ff3efb7e2f44f5fb2463435e3f45300d7223a6 (patch) | |
| tree | 5bf2871c94724c507e2ed4acd7b1d0bfb856f6f4 | |
| parent | 2661a95d686375737aa88a41808c3cc49ae12ec5 (diff) | |
chore: define `_Nonnull` when not available.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | lib/boot.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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(); |
