diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-11-20 18:03:57 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-11-20 18:03:57 -0500 |
commit | ce93c5772da52ab88faef7e5b661b681d5b60b1e (patch) | |
tree | d40601720b21eb0341bf164ac1d0f63db21cb404 /Xext | |
parent | 0756d1271209e6ae14cc641dddca095271b43150 (diff) |
registry: Remove registry code from BigRequests extension.
Moving all the names into dix/registry.c
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/bigreq.c | 13 |
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*/ |