aboutsummaryrefslogtreecommitdiff
path: root/common/debug.h
blob: 465ca033de3ddcdeebf7f05ec8ffdbb9fa22f076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Debugging macros
 */

#ifdef DEBUG
#define debug_print(fmt,...) \
        printf(fmt, ##__VA_ARGS__)
#else
#define debug_printf(fmt,...) \
        do { } while (0)
#endif /* !DEBUG */