registry: Remove registry code from XC-MISC extension.
Moving all the names into dix/registry.c
This commit is contained in:
		
							parent
							
								
									4b0274e8f7
								
							
						
					
					
						commit
						6874271794
					
				| 
						 | 
					@ -39,7 +39,6 @@ from The Open Group.
 | 
				
			||||||
#include "dixstruct.h"
 | 
					#include "dixstruct.h"
 | 
				
			||||||
#include "extnsionst.h"
 | 
					#include "extnsionst.h"
 | 
				
			||||||
#include "swaprep.h"
 | 
					#include "swaprep.h"
 | 
				
			||||||
#include "registry.h"
 | 
					 | 
				
			||||||
#include <X11/extensions/xcmiscstr.h>
 | 
					#include <X11/extensions/xcmiscstr.h>
 | 
				
			||||||
#include "modinit.h"
 | 
					#include "modinit.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -65,19 +64,9 @@ static DISPATCH_PROC(SProcXCMiscGetXIDRange);
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
XCMiscExtensionInit(INITARGS)
 | 
					XCMiscExtensionInit(INITARGS)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    ExtensionEntry *extEntry;
 | 
					    AddExtension(XCMiscExtensionName, 0, 0,
 | 
				
			||||||
 | 
							 ProcXCMiscDispatch, SProcXCMiscDispatch,
 | 
				
			||||||
    if (!(extEntry = AddExtension(XCMiscExtensionName, 0, 0,
 | 
							 XCMiscResetProc, StandardMinorOpcode))
 | 
				
			||||||
				ProcXCMiscDispatch, SProcXCMiscDispatch,
 | 
					 | 
				
			||||||
				XCMiscResetProc, StandardMinorOpcode)))
 | 
					 | 
				
			||||||
	return;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    RegisterRequestName(extEntry->base, X_XCMiscGetVersion,
 | 
					 | 
				
			||||||
			XCMiscExtensionName ":GetVersion");
 | 
					 | 
				
			||||||
    RegisterRequestName(extEntry->base, X_XCMiscGetXIDRange,
 | 
					 | 
				
			||||||
			XCMiscExtensionName ":GetXIDRange");
 | 
					 | 
				
			||||||
    RegisterRequestName(extEntry->base, X_XCMiscGetXIDList,
 | 
					 | 
				
			||||||
			XCMiscExtensionName ":GetXIDList");
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*ARGSUSED*/
 | 
					/*ARGSUSED*/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue