#ifndef KERNEL_SCREEN_H #define KERNEL_SCREEN_H int sprintf(char *buf, char *fmt, ...); void panic(char *fmt, ...); void kprintf(char *fmt, ...); void dbgprintf(char *msg); #define ASSERT(c) ({ \ if (!(c)) \ panic("Assertion failed (%s:%d): " #c, \ __FILE__, __LINE__); \ c; \ }) #endif