projects
/
rpikern
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4ac0d15fa059668c83ce81c032898a82c8bf5b85
[rpikern]
/
src
/
libc
/
assert.h
1
#ifndef ASSERT_H_
2
#define ASSERT_H_
3
4
#include "panic.h"
5
6
#define assert(x) \
7
if(!(x)) { \
8
panic("Kernel assertion failed at " __FILE__ ":%d: " #x "\n", __LINE__); \
9
}
10
11
#endif /* ASSERT_H_ */