summaryrefslogtreecommitdiff
path: root/xc
diff options
context:
space:
mode:
authorfaith <faith>2002-04-12 20:43:58 +0000
committerfaith <faith>2002-04-12 20:43:58 +0000
commit1f319f27564e392422573e89c1ada61187053826 (patch)
tree281dd137093b99974ed9bd43416a0e38cbe176dd /xc
parent96d74a1b7dd0db1ba1c6635c4614754568fb9194 (diff)
Add dmxLogOutputWarning
Diffstat (limited to 'xc')
-rw-r--r--xc/programs/Xserver/hw/dmx/dmxlog.c10
-rw-r--r--xc/programs/Xserver/hw/dmx/dmxlog.h2
2 files changed, 12 insertions, 0 deletions
diff --git a/xc/programs/Xserver/hw/dmx/dmxlog.c b/xc/programs/Xserver/hw/dmx/dmxlog.c
index 23b68edfd..9f951424f 100644
--- a/xc/programs/Xserver/hw/dmx/dmxlog.c
+++ b/xc/programs/Xserver/hw/dmx/dmxlog.c
@@ -125,6 +125,16 @@ void dmxLogOutput(DMXScreenInfo *dmxScreen, const char *format, ...)
va_end(args);
}
+void dmxLogOutputWarning(DMXScreenInfo *dmxScreen, const char *format, ...)
+{
+ va_list args;
+
+ dmxHeader(dmxWarning, NULL, dmxScreen);
+ va_start(args, format);
+ dmxMessage(dmxWarning, format, args);
+ va_end(args);
+}
+
void dmxLogInput(DMXInputInfo *dmxInput, const char *format, ...)
{
va_list args;
diff --git a/xc/programs/Xserver/hw/dmx/dmxlog.h b/xc/programs/Xserver/hw/dmx/dmxlog.h
index 8bf2a9edf..5f14bd71c 100644
--- a/xc/programs/Xserver/hw/dmx/dmxlog.h
+++ b/xc/programs/Xserver/hw/dmx/dmxlog.h
@@ -49,6 +49,8 @@ extern dmxLogLevel dmxSetLogLevel(dmxLogLevel newLevel);
extern dmxLogLevel dmxGetLogLevel(void);
extern void dmxLog(dmxLogLevel logLevel, const char *format, ...);
extern void dmxLogOutput(DMXScreenInfo *dmxScreen, const char *format, ...);
+extern void dmxLogOutputWarning(DMXScreenInfo *dmxScreen, const char *format,
+ ...);
extern void dmxLogInput(DMXInputInfo *dmxInput, const char *format, ...);
extern void dmxLogArgs(dmxLogLevel logLevel, int argc, char **argv);
extern void dmxLogVisual(DMXScreenInfo *dmxScreen, XVisualInfo *vi,