include: actually declare DebugF
DebugF is ErrorF when DEBUG is defined, else a no-op.
This commit is contained in:
parent
9e37de193f
commit
14b157bdb1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user