summaryrefslogtreecommitdiff
path: root/Xext/xtest.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-20 18:41:10 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-20 18:41:10 -0500
commitedcf490cdb965e2a5bfc0169c01732d2924da3ae (patch)
tree7a5b3a8d2575e04e1ce9a7100adad469f6ca4a04 /Xext/xtest.c
parent5fea1ed50f37691a5273bf2897479781de808ff5 (diff)
registry: Remove registry code from XTest extension.
Moving all the names into dix/registry.c
Diffstat (limited to 'Xext/xtest.c')
-rw-r--r--Xext/xtest.c19
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*/