From a3d948ddbb54b9e831e67f22d5031922a3c44107 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Thu, 6 May 2010 12:35:52 -0700 Subject: [PATCH] clientErrorValue is never used outside dix. Stop importing it. Signed-off-by: Jamey Sharp Reviewed-by: Keith Packard --- Xext/panoramiXprocs.c | 7 ------- Xext/xvmain.c | 2 -- glx/xfont.c | 2 -- 3 files changed, 11 deletions(-) diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 75f758da5..47362df4d 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 13cd600a1..72678f766 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 35fad4d5a..f0b5644b9 100644 --- a/glx/xfont.c +++ b/glx/xfont.c @@ -46,8 +46,6 @@ #include #include -extern XID clientErrorValue; /* imported kludge from dix layer */ - /* ** Make a single GL bitmap from a single X glyph */