summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorAlan Coopersmith <alanc@alf.(none)>2006-06-20 16:03:34 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-06-20 16:03:34 -0700
commit63f6e6bbfd0d3677e29621af982c9392ead98dd7 (patch)
tree6c0c5c28112784dfbf4e87cf801de2fe821c2df5 /Xext
parent88ede2cec79281a43cecb43ee6dec65770f82530 (diff)
parent6df52fb7745c185c0168060f69cc6b4f5315914e (diff)
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
Diffstat (limited to 'Xext')
-rw-r--r--Xext/appgroup.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Xext/appgroup.c b/Xext/appgroup.c
index 40096ae68..e182cadda 100644
--- a/Xext/appgroup.c
+++ b/Xext/appgroup.c
@@ -78,10 +78,6 @@ static int ProcXagDispatch(ClientPtr client);
static int SProcXagDispatch(ClientPtr client);
static void XagResetProc(ExtensionEntry* extEntry);
-#if 0
-static unsigned char XagReqCode = 0;
-static int XagErrorBase;
-#endif
static int XagCallbackRefCount = 0;
static RESTYPE RT_APPGROUP;
@@ -183,19 +179,6 @@ void XagClientStateChange(
void
XagExtensionInit(INITARGS)
{
-#if 0
- ExtensionEntry* extEntry;
-
- if ((extEntry = AddExtension (XAGNAME,
- 0,
- XagNumberErrors,
- ProcXagDispatch,
- SProcXagDispatch,
- XagResetProc,
- StandardMinorOpcode))) {
- XagReqCode = (unsigned char)extEntry->base;
- XagErrorBase = extEntry->errorBase;
-#else
if (AddExtension (XAGNAME,
0,
XagNumberErrors,
@@ -203,7 +186,6 @@ XagExtensionInit(INITARGS)
SProcXagDispatch,
XagResetProc,
StandardMinorOpcode)) {
-#endif
RT_APPGROUP = CreateNewResourceType (XagAppGroupFree);
XaceRegisterCallback(XACE_AUTH_AVAIL, XagCallClientStateChange, NULL);
}