include: actually declare DebugF

DebugF is ErrorF when DEBUG is defined, else a no-op.
This commit is contained in:
Daniel Stone 2006-10-08 17:04:12 +03:00 committed by Daniel Stone
parent 9e37de193f
commit 14b157bdb1

View File

@ -510,6 +510,12 @@ __attribute((noreturn))
#endif
;
#ifdef DEBUG
#define DebugF ErrorF
#else
#define DebugF(x, ...) /* */
#endif
extern void VErrorF(const char *f, va_list args);
extern void ErrorF(const char *f, ...) _printf_attribute(1,2);
extern void Error(char *str);