Commit | Line | Data |
---|---|---|
1 | #include <assert.h> | |
2 | #include <stdarg.h> | |
3 | ||
4 | #include "debug.h" | |
5 | #include "log.h" | |
6 | ||
7 | #ifdef FIO_INC_DEBUG | |
8 | void __dprint(int type, const char *str, ...) | |
9 | { | |
10 | va_list args; | |
11 | ||
12 | assert(type < FD_DEBUG_MAX); | |
13 | ||
14 | va_start(args, str); | |
15 | log_prevalist(type, str, args); | |
16 | va_end(args); | |
17 | } | |
18 | #endif |