aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/dprintf.h
blob: 4c9682c02021223aa3a3b0ea60451ee2840b1f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * dprintf.h
 */

#ifndef _DPRINTF_H
#define _DPRINTF_H

#ifdef DEBUG

#include <stdio.h>

int dprintf(const char *, ...);
int vdprintf(const char *, va_list);

#else

#define dprintf(fmt, ...)	((void)(0))
#define vdprintf(fmt, ap)	((void)(0))

#endif /* DEBUG */

#endif /* _DPRINTF_H */