[xorg-commit-diffs] xc/programs/Xserver/hw/xwin winmsg.c,
1.1.4.1.2.2, 1.1.4.1.2.3 winmsg.h, 1.1.4.1.2.2, 1.1.4.1.2.3
Alexander Gottwald
xorg-commit at pdx.freedesktop.org
Tue Apr 13 12:24:41 PDT 2004
Committed by: ago
Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv8579
Modified Files:
Tag: CYGWIN
winmsg.c winmsg.h
Log Message:
new function winDebug which logs messages with verbosity level 3
Index: winmsg.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winmsg.c,v
retrieving revision 1.1.4.1.2.2
retrieving revision 1.1.4.1.2.3
diff -u -d -r1.1.4.1.2.2 -r1.1.4.1.2.3
--- a/winmsg.c 17 Mar 2004 20:31:51 -0000 1.1.4.1.2.2
+++ b/winmsg.c 13 Apr 2004 19:24:39 -0000 1.1.4.1.2.3
@@ -92,3 +92,12 @@
LogVMessageVerb(X_NONE, verb, format, ap);
va_end (ap);
}
+
+void
+winDebug (const char *format, ...)
+{
+ va_list ap;
+ va_start (ap, format);
+ LogVMessageVerb(X_NONE, 3, format, ap);
+ va_end (ap);
+}
Index: winmsg.h
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winmsg.h,v
retrieving revision 1.1.4.1.2.2
retrieving revision 1.1.4.1.2.3
diff -u -d -r1.1.4.1.2.2 -r1.1.4.1.2.3
--- a/winmsg.h 17 Mar 2004 20:31:51 -0000 1.1.4.1.2.2
+++ b/winmsg.h 13 Apr 2004 19:24:39 -0000 1.1.4.1.2.3
@@ -41,6 +41,7 @@
void winDrvMsg (int scrnIndex, MessageType type, const char *format, ...);
void winMsgVerb (MessageType type, int verb, const char *format, ...);
void winMsg (MessageType type, const char *format, ...);
+void winDebug (const char *format, ...);
void winErrorFVerb (int verb, const char *format, ...);
More information about the xorg-commit-diffs
mailing list