1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Kernel: Remove includes to LibC stdarg definitions

We don't actually need the va_list and other stdarg definitions in the
kernel, because we actually don't use the "pure" printf interface in any
kernel code at all, but we retain the snprintf declaration because the
libstdc++ library still need it to be declared and extern'ed.
This commit is contained in:
Liav A 2023-02-26 18:33:59 +02:00 committed by Andrew Kaster
parent 5416a37fde
commit 77486a0d08
3 changed files with 2 additions and 42 deletions

View file

@ -15,7 +15,6 @@ void kernelputstr(char const*, size_t);
void kernelcriticalputstr(char const*, size_t);
void dbgputchar(char);
void kernelearlyputstr(char const*, size_t);
int snprintf(char* buf, size_t, char const* fmt, ...) __attribute__((format(printf, 3, 4)));
void set_serial_debug_enabled(bool desired_state);
bool is_serial_debug_enabled();
}