diff --git a/Core/CrashHandler.cpp b/Core/CrashHandler.cpp index 64cb337e..946f7bd9 100644 --- a/Core/CrashHandler.cpp +++ b/Core/CrashHandler.cpp @@ -51,12 +51,6 @@ void UnknownExceptionHandler(CPU::x64::TrapFrame *Frame); void UserModeExceptionHandler(CPU::x64::TrapFrame *Frame); #endif -#ifdef __debug_vscode__ -extern "C" int printf_(const char *format, ...); -extern "C" int vprintf_(const char *format, va_list arg); -extern "C" int sprintf_(char *s, const char *format, ...); -#endif - namespace CrashHandler { void printfWrapper(char c, void *unused) diff --git a/Kernel.cpp b/Kernel.cpp index 9b89a8d7..bb06c258 100644 --- a/Kernel.cpp +++ b/Kernel.cpp @@ -20,14 +20,9 @@ PCI::PCI *PCIManager = nullptr; Time BootClock; -// For the Display class. Printing on first buffer. +// For the Display class. Printing on first buffer as default. extern "C" void putchar(char c) { Display->Print(c, 0); } -#ifdef __debug_vscode__ -extern "C" int printf_(const char *format, ...); -extern "C" int vprintf_(const char *format, va_list arg); -#endif - EXTERNC void KPrint(const char *Format, ...) { SMARTLOCK(KernelLock);