iso9660fs: initialize buffer cache
[minix.git] / include / minix / debug.h
blobb7e2b23c4deaae6e69507f52f82cb4959f3bd0a5
1 #ifndef _MINIX_DEBUG_H
2 #define _MINIX_DEBUG_H 1
4 /* For reminders of things to be fixed. */
5 #define FIXME(str) { static int fixme_warned = 0; \
6 if(!fixme_warned) { \
7 printf("FIXME: %s:%d: %s\n", __FILE__, __LINE__, str);\
8 fixme_warned = 1; \
9 } \
12 #define NOT_REACHABLE do { \
13 panic("NOT_REACHABLE at %s:%d", __FILE__, __LINE__); \
14 for(;;); \
15 } while(0)
17 #define NOT_IMPLEMENTED do { \
18 panic("NOT_IMPLEMENTED at %s:%d", __FILE__, __LINE__); \
19 } while(0)
21 #endif /* _MINIX_DEBUG_H */