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
|
@ -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…
Reference in New Issue