[PATCH] clientErrorValue is never used outside dix. Stop importing it.

Jamey Sharp jamey at minilop.net
Thu May 6 13:12:03 PDT 2010


Signed-off-by: Jamey Sharp <jamey at minilop.net>
---
 Xext/panoramiXprocs.c |    7 -------
 Xext/xvmain.c         |    2 --
 glx/xfont.c           |    2 --
 3 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c
index 6635db9..7098617 100644
--- a/Xext/panoramiXprocs.c
+++ b/Xext/panoramiXprocs.c
@@ -52,13 +52,6 @@ Equipment Corporation.
 #define INPUTONLY_LEGAL_MASK (CWWinGravity | CWEventMask | \
                               CWDontPropagate | CWOverrideRedirect | CWCursor )
 
-/* Various of the DIX function interfaces were not designed to allow
- * the client->errorValue to be set on BadValue and other errors.
- * Rather than changing interfaces and breaking untold code we introduce
- * a new global that dispatch can use.
- */
-extern XID clientErrorValue;   /* XXX this is a kludge */
-
 int PanoramiXCreateWindow(ClientPtr client)
 {
     PanoramiXRes *parent, *newWin;
diff --git a/Xext/xvmain.c b/Xext/xvmain.c
index 05a6890..8032842 100644
--- a/Xext/xvmain.c
+++ b/Xext/xvmain.c
@@ -126,8 +126,6 @@ unsigned long XvRTPortNotify;
 
 /* EXTERNAL */
 
-extern XID clientErrorValue;
-
 static void WriteSwappedVideoNotifyEvent(xvEvent *, xvEvent *);
 static void WriteSwappedPortNotifyEvent(xvEvent *, xvEvent *);
 static Bool CreateResourceTypes(void);
diff --git a/glx/xfont.c b/glx/xfont.c
index b8b466d..5bc8bc5 100644
--- a/glx/xfont.c
+++ b/glx/xfont.c
@@ -46,8 +46,6 @@
 #include <windowstr.h>
 #include <dixfontstr.h>
 
-extern XID clientErrorValue;	/* imported kludge from dix layer */
-
 /*
 ** Make a single GL bitmap from a single X glyph
 */
-- 
1.7.0



More information about the xorg-devel mailing list