mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 04:40:02 +01:00
pseudoramiX: Add _X_ATTRIBUTE_PRINTF attributes to debug functions.
Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
9e45a1a030
commit
61cb6c9aa9
1 changed files with 8 additions and 0 deletions
|
|
@ -98,6 +98,10 @@ static int pseudoramiXScreensAllocated = 0;
|
|||
static int pseudoramiXNumScreens = 0;
|
||||
static unsigned long pseudoramiXGeneration = 0;
|
||||
|
||||
static void
|
||||
PseudoramiXTrace(const char *format, ...)
|
||||
_X_ATTRIBUTE_PRINTF(1, 2);
|
||||
|
||||
static void
|
||||
PseudoramiXTrace(const char *format, ...)
|
||||
{
|
||||
|
|
@ -108,6 +112,10 @@ PseudoramiXTrace(const char *format, ...)
|
|||
va_end(ap);
|
||||
}
|
||||
|
||||
static void
|
||||
PseudoramiXDebug(const char *format, ...)
|
||||
_X_ATTRIBUTE_PRINTF(1, 2);
|
||||
|
||||
static void
|
||||
PseudoramiXDebug(const char *format, ...)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue