#pragma once #include extern "C" { int dbgprintf(const char* fmt, ...); int dbgputstr(const char*, int); int kprintf(const char* fmt, ...); int ksprintf(char* buf, const char* fmt, ...); void set_serial_debug(bool on_or_off); int get_serial_debug(); } #ifndef USERLAND # define printf dbgprintf #endif #ifndef __serenity__ #define dbgprintf printf #endif