summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-11-20 18:18:01 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-11-20 18:18:01 -0500
commit36ef45928c783292cef18acfdd83ae057826c989 (patch)
tree0caf892384ff1335c5807741559a9c01056c209a /Xext
parent816e6e612e4bc3cea1e67e7ea79d5b640458011f (diff)
registry: Remove registry code from MIT-MISC extension.
Moving all the names to dix/registry.c
Diffstat (limited to 'Xext')
-rw-r--r--Xext/mitmisc.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/Xext/mitmisc.c b/Xext/mitmisc.c
index 0b231529b..a5f3b0f6d 100644
--- a/Xext/mitmisc.c
+++ b/Xext/mitmisc.c
@@ -38,7 +38,6 @@ in this Software without prior written authorization from The Open Group.
#include "os.h"
#include "dixstruct.h"
#include "extnsionst.h"
-#include "registry.h"
#define _MITMISC_SERVER_
#include <X11/extensions/mitmiscstr.h>
#include "modinit.h"
@@ -57,17 +56,9 @@ static DISPATCH_PROC(SProcMITSetBugMode);
void
MITMiscExtensionInit(INITARGS)
{
- ExtensionEntry *extEntry;
-
- if (!(extEntry = AddExtension(MITMISCNAME, 0, 0,
- ProcMITDispatch, SProcMITDispatch,
- MITResetProc, StandardMinorOpcode)))
- return;
-
- RegisterRequestName(extEntry->base, X_MITSetBugMode,
- MITMISCNAME ":SetBugMode");
- RegisterRequestName(extEntry->base, X_MITGetBugMode,
- MITMISCNAME ":GetBugMode");
+ AddExtension(MITMISCNAME, 0, 0,
+ ProcMITDispatch, SProcMITDispatch,
+ MITResetProc, StandardMinorOpcode)))
}
/*ARGSUSED*/