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