mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00: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:
@@ -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, ...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user