summaryrefslogtreecommitdiff
path: root/bootstrap/stage1
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2025-10-19 21:51:28 -0500
committerDanny Holman <dholman@gymli.org>2025-10-19 22:02:15 -0500
commit1c144fb765203d30fda3fdcac3d975fa492e3d1e (patch)
treee69599c22490733f8edb4a4864cae9d868fc205d /bootstrap/stage1
parentbootstrap: stage1: use the new headers (diff)
downloadbox-1c144fb765203d30fda3fdcac3d975fa492e3d1e.tar.gz
box-1c144fb765203d30fda3fdcac3d975fa492e3d1e.tar.zst
box-1c144fb765203d30fda3fdcac3d975fa492e3d1e.zip
bootstrap: stage1: remove extraneous definition
Remove an extraneous definition of the NULL macro and include stddef.h into this file. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'bootstrap/stage1')
-rw-r--r--bootstrap/stage1/firmware/efi/tty.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootstrap/stage1/firmware/efi/tty.c b/bootstrap/stage1/firmware/efi/tty.c
index 9131d95..fdbf38a 100644
--- a/bootstrap/stage1/firmware/efi/tty.c
+++ b/bootstrap/stage1/firmware/efi/tty.c
@@ -18,10 +18,7 @@
*/
#include <bootabi/efi.h>
-
-#ifndef NULL
-#define NULL (void*)(0)
-#endif
+#include <stddef.h>
extern uint64_t errno;
extern efi_loaded_image_protocol_t *lip;