diff options
-rw-r--r-- | Xext/xtest.c | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index effa3b904..8e1732cd2 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -42,7 +42,6 @@ from The Open Group. #include "scrnintstr.h" #include "dixevents.h" #include "sleepuntil.h" -#include "registry.h" #define _XTEST_SERVER_ #include <X11/extensions/XTest.h> #include <X11/extensions/xteststr.h> @@ -85,21 +84,9 @@ static DISPATCH_PROC(SProcXTestGrabControl); void XTestExtensionInit(INITARGS) { - ExtensionEntry *extEntry; - - if (!(extEntry = AddExtension(XTestExtensionName, 0, 0, - ProcXTestDispatch, SProcXTestDispatch, - XTestResetProc, StandardMinorOpcode))) - return; - - RegisterRequestName(extEntry->base, X_XTestGetVersion, - XTestExtensionName ":GetVersion"); - RegisterRequestName(extEntry->base, X_XTestCompareCursor, - XTestExtensionName ":CompareCursor"); - RegisterRequestName(extEntry->base, X_XTestFakeInput, - XTestExtensionName ":FakeInput"); - RegisterRequestName(extEntry->base, X_XTestGrabControl, - XTestExtensionName ":GrabControl"); + AddExtension(XTestExtensionName, 0, 0, + ProcXTestDispatch, SProcXTestDispatch, + XTestResetProc, StandardMinorOpcode)) } /*ARGSUSED*/ |