Don't need that honking huge header, so out it goes.
[kugel-rb.git] / firmware / include / assert.h
blob536c4a8fc70c49e58aaaf3b82c4ec807281d6004
1 /*
2 assert.h
3 */
5 #include "_ansi.h"
7 #undef assert
9 #ifdef NDEBUG /* required by ANSI standard */
10 #define assert(p) ((void)0)
11 #else
13 #ifdef __STDC__
14 #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e))
15 #else /* PCC */
16 #define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, "e"))
17 #endif
19 #endif /* NDEBUG */
21 void _EXFUN(__assert,(const char *, int, const char *));