From a25c0de093f6fccb9ca802cacb7ac0f0f106f9f2 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 19 Apr 2016 11:07:49 +0200 Subject: TOGCUP: Drop all Xserver code blocks that relate to removed TOGCUP extension. --- nx-X11/programs/Xserver/include/globals.h | 4 ---- nx-X11/programs/Xserver/mi/miinitext.c | 12 ------------ nx-X11/programs/Xserver/os/utils.c | 3 --- 3 files changed, 19 deletions(-) (limited to 'nx-X11/programs/Xserver') diff --git a/nx-X11/programs/Xserver/include/globals.h b/nx-X11/programs/Xserver/include/globals.h index 944d196bf..91023aeb0 100644 --- a/nx-X11/programs/Xserver/include/globals.h +++ b/nx-X11/programs/Xserver/include/globals.h @@ -125,10 +125,6 @@ extern Bool noSecurityExtension; extern Bool noSyncExtension; #endif -#ifdef TOGCUP -extern Bool noXcupExtension; -#endif - #ifdef RES extern Bool noResExtension; #endif diff --git a/nx-X11/programs/Xserver/mi/miinitext.c b/nx-X11/programs/Xserver/mi/miinitext.c index 9b023253d..407ecfbe4 100644 --- a/nx-X11/programs/Xserver/mi/miinitext.c +++ b/nx-X11/programs/Xserver/mi/miinitext.c @@ -132,9 +132,6 @@ extern Bool noSecurityExtension; #ifdef XSYNC extern Bool noSyncExtension; #endif -#ifdef TOGCUP -extern Bool noXcupExtension; -#endif #ifdef RES extern Bool noResExtension; #endif @@ -304,9 +301,6 @@ extern void DarwinGlxWrapInitVisuals(miInitVisualsProcPtr *); #ifdef XF86DRI extern void XFree86DRIExtensionInit(INITARGS); #endif -#ifdef TOGCUP -extern void XcupExtensionInit(INITARGS); -#endif #ifdef DPMSExtension extern void DPMSExtensionInit(INITARGS); #endif @@ -409,9 +403,6 @@ static ExtensionToggle ExtensionToggleList[] = #ifdef XSYNC { "SYNC", &noSyncExtension }, #endif -#ifdef TOGCUP - { "TOG-CUP", &noXcupExtension }, -#endif #ifdef RES { "X-Resource", &noResExtension }, #endif @@ -556,9 +547,6 @@ InitExtensions(argc, argv) #ifdef XCSECURITY if (!noSecurityExtension) SecurityExtensionInit(); #endif -#ifdef TOGCUP - if (!noXcupExtension) XcupExtensionInit(); -#endif #if defined(DPMSExtension) && !defined(NO_HW_ONLY_EXTS) if (!noDPMSExtension) DPMSExtensionInit(); #endif diff --git a/nx-X11/programs/Xserver/os/utils.c b/nx-X11/programs/Xserver/os/utils.c index 49e1c08e1..29baae389 100644 --- a/nx-X11/programs/Xserver/os/utils.c +++ b/nx-X11/programs/Xserver/os/utils.c @@ -207,9 +207,6 @@ Bool noSecurityExtension = FALSE; #ifdef XSYNC Bool noSyncExtension = FALSE; #endif -#ifdef TOGCUP -Bool noXcupExtension = FALSE; -#endif #ifdef RES Bool noResExtension = FALSE; #endif -- cgit v1.2.3