mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-18 00:42:40 +00:00
Clean up many #if 0.
This commit is contained in:
parent
83ba1e167c
commit
fa47910045
33 changed files with 3 additions and 575 deletions
20
Xext/cup.c
20
Xext/cup.c
|
|
@ -51,11 +51,6 @@ static int ProcDispatch(ClientPtr client);
|
|||
static int SProcDispatch(ClientPtr client);
|
||||
static void ResetProc(ExtensionEntry* extEntry);
|
||||
|
||||
#if 0
|
||||
static unsigned char ReqCode = 0;
|
||||
static int ErrorBase;
|
||||
#endif
|
||||
|
||||
#if defined(WIN32) || defined(TESTWIN32)
|
||||
#define HAVE_SPECIAL_DESKTOP_COLORS
|
||||
#endif
|
||||
|
|
@ -128,20 +123,6 @@ static xColorItem citems[] = {
|
|||
void
|
||||
XcupExtensionInit (INITARGS)
|
||||
{
|
||||
#if 0
|
||||
ExtensionEntry* extEntry;
|
||||
|
||||
if ((extEntry = AddExtension (XCUPNAME,
|
||||
0,
|
||||
XcupNumberErrors,
|
||||
ProcDispatch,
|
||||
SProcDispatch,
|
||||
ResetProc,
|
||||
StandardMinorOpcode))) {
|
||||
ReqCode = (unsigned char)extEntry->base;
|
||||
ErrorBase = extEntry->errorBase;
|
||||
}
|
||||
#else
|
||||
(void) AddExtension (XCUPNAME,
|
||||
0,
|
||||
XcupNumberErrors,
|
||||
|
|
@ -149,7 +130,6 @@ XcupExtensionInit (INITARGS)
|
|||
SProcDispatch,
|
||||
ResetProc,
|
||||
StandardMinorOpcode);
|
||||
#endif
|
||||
|
||||
/* PC servers initialize the desktop colors (citems) here! */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue