mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-03 21:50:32 +01:00
include: actually declare DebugF
DebugF is ErrorF when DEBUG is defined, else a no-op.
This commit is contained in:
parent
9e37de193f
commit
14b157bdb1
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue