diff options
author | Danny Holman <dholman@gymli.org> | 2025-10-19 21:51:28 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2025-10-19 22:02:15 -0500 |
commit | 1c144fb765203d30fda3fdcac3d975fa492e3d1e (patch) | |
tree | e69599c22490733f8edb4a4864cae9d868fc205d | |
parent | bootstrap: stage1: use the new headers (diff) | |
download | box-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>
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | bootstrap/stage1/firmware/efi/tty.c | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -25,6 +25,10 @@ *.xz *.zst +# Testing and debugging files +esp/ +.gdbinit + # Built exec's bin/cat/cat bin/chmod/chmod 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; |