mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 12:49:21 +00:00
include: actually declare DebugF
DebugF is ErrorF when DEBUG is defined, else a no-op.
This commit is contained in:
committed by
Daniel Stone
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);
|
||||
|
||||
Reference in New Issue
Block a user