summaryrefslogtreecommitdiff
path: root/Xext/xcmisc.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-20 18:32:54 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-20 18:32:54 -0500
commit687427179420b18a55a1a02b8a9f2a32ea8eac8d (patch)
treec3148a829f3ef7f4e9d49fed3f73477a19723bf8 /Xext/xcmisc.c
parent4b0274e8f712e51b18618a2a0bdbe03b17b9736b (diff)
registry: Remove registry code from XC-MISC extension.
Moving all the names into dix/registry.c
Diffstat (limited to 'Xext/xcmisc.c')
-rw-r--r--Xext/xcmisc.c17
1 files changed, 3 insertions, 14 deletions
diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c
index ba0402c76..44d2b19a6 100644
--- a/Xext/xcmisc.c
+++ b/Xext/xcmisc.c
@@ -39,7 +39,6 @@ from The Open Group.
#include "dixstruct.h"
#include "extnsionst.h"
#include "swaprep.h"
-#include "registry.h"
#include <X11/extensions/xcmiscstr.h>
#include "modinit.h"
@@ -65,19 +64,9 @@ static DISPATCH_PROC(SProcXCMiscGetXIDRange);
void
XCMiscExtensionInit(INITARGS)
{
- ExtensionEntry *extEntry;
-
- if (!(extEntry = AddExtension(XCMiscExtensionName, 0, 0,
- ProcXCMiscDispatch, SProcXCMiscDispatch,
- XCMiscResetProc, StandardMinorOpcode)))
- return;
-
- RegisterRequestName(extEntry->base, X_XCMiscGetVersion,
- XCMiscExtensionName ":GetVersion");
- RegisterRequestName(extEntry->base, X_XCMiscGetXIDRange,
- XCMiscExtensionName ":GetXIDRange");
- RegisterRequestName(extEntry->base, X_XCMiscGetXIDList,
- XCMiscExtensionName ":GetXIDList");
+ AddExtension(XCMiscExtensionName, 0, 0,
+ ProcXCMiscDispatch, SProcXCMiscDispatch,
+ XCMiscResetProc, StandardMinorOpcode))
}
/*ARGSUSED*/