I spent the whole evening debugging this crap
This commit is contained in:
parent
1794df45f4
commit
07c0b10280
@ -3,8 +3,4 @@
|
||||
void printk(const char *msg);
|
||||
_Noreturn void panic(const char *msg);
|
||||
|
||||
#define check(expr) \
|
||||
if (!(expr)) { \
|
||||
panic("Assertion failed at " __FILE__ " : " \
|
||||
" : " #expr "\n"); \
|
||||
}
|
||||
#define check(expr) if (!(expr)) {panic("Assertion failed at " __FILE__ " : " #expr "\n");}
|
||||
Loading…
x
Reference in New Issue
Block a user