summaryrefslogtreecommitdiff
path: root/Xext/bigreq.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-20 18:03:57 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-20 18:03:57 -0500
commitce93c5772da52ab88faef7e5b661b681d5b60b1e (patch)
treed40601720b21eb0341bf164ac1d0f63db21cb404 /Xext/bigreq.c
parent0756d1271209e6ae14cc641dddca095271b43150 (diff)
registry: Remove registry code from BigRequests extension.
Moving all the names into dix/registry.c
Diffstat (limited to 'Xext/bigreq.c')
-rw-r--r--Xext/bigreq.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/Xext/bigreq.c b/Xext/bigreq.c
index 6303f388e..fd8bcb89b 100644
--- a/Xext/bigreq.c
+++ b/Xext/bigreq.c
@@ -37,7 +37,6 @@ from The Open Group.
#include "os.h"
#include "dixstruct.h"
#include "extnsionst.h"
-#include "registry.h"
#include <X11/extensions/bigreqstr.h>
#include "opaque.h"
#include "modinit.h"
@@ -51,15 +50,9 @@ static DISPATCH_PROC(ProcBigReqDispatch);
void
BigReqExtensionInit(INITARGS)
{
- ExtensionEntry *extEntry;
-
- if (!(extEntry = AddExtension(XBigReqExtensionName, 0, 0,
- ProcBigReqDispatch, ProcBigReqDispatch,
- BigReqResetProc, StandardMinorOpcode)))
- return;
-
- RegisterRequestName(extEntry->base, X_BigReqEnable,
- XBigReqExtensionName ":Enable");
+ AddExtension(XBigReqExtensionName, 0, 0,
+ ProcBigReqDispatch, ProcBigReqDispatch,
+ BigReqResetProc, StandardMinorOpcode)))
}
/*ARGSUSED*/