From da3df7522d15855fa871c45f3b8db23e7c639a44 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 24 Nov 2004 02:45:33 +0000 Subject: Remove this file and all references to the binary expiry code. Remove old obsolete include/extensions/damage.h. Include srvrv_ctrl(xfree86) in macintosh US XKB symbol file so VT switching works again on mac (#1872). Remove out of place #define's of printf to xf86printf. This definition should only be in xfree86/os-support/xf86_libc.h --- hw/xfree86/common/xf86.h | 5 ----- hw/xfree86/common/xf86Init.c | 17 ----------------- hw/xfree86/common/xf86Priv.h | 3 --- 3 files changed, 25 deletions(-) (limited to 'hw') diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 3c5dba088..026b45852 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -364,11 +364,6 @@ void xf86AddModuleInfo(ModuleInfoPtr info, pointer module); void xf86DeleteModuleInfo(int idx); #endif -#ifdef printf_defined -#define printf xf86printf -#undef printf_defined -#endif - /* xf86Debug.c */ #ifdef BUILDDEBUG void xf86Break1(void); diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c index d9d55a4fe..e167781a3 100644 --- a/hw/xfree86/common/xf86Init.c +++ b/hw/xfree86/common/xf86Init.c @@ -106,11 +106,6 @@ static void xf86PrintBanner(void); static void xf86PrintMarkers(void); static void xf86RunVtInit(void); -#ifdef DO_CHECK_BETA -static int extraDays = 0; -static char *expKey = NULL; -#endif - #ifdef __UNIXOS2__ extern void os2ServerVideoAccess(); #endif @@ -307,10 +302,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv) else xf86ServerName = argv[0]; -#ifdef DO_CHECK_BETA - xf86CheckBeta(extraDays, expKey); -#endif - xf86PrintBanner(); xf86PrintMarkers(); if (xf86LogFile) { @@ -1437,14 +1428,6 @@ ddxProcessArgument(int argc, char **argv, int i) #endif return 1; } -#ifdef DO_CHECK_BETA - if (!strcmp(argv[i],"-extendExpiry")) - { - extraDays = atoi(argv[i + 1]); - expKey = argv[i + 2]; - return 3; - } -#endif if (!strcmp(argv[i],"-verbose")) { if (++i < argc && argv[i]) diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 82df2aead..a9677bd73 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -131,9 +131,6 @@ extern RootWinPropPtr *xf86RegisteredPropertiesTable; /* Function Prototypes */ #ifndef _NO_XF86_PROTOTYPES -/* xf86Beta.c */ -extern void xf86CheckBeta(int extraDays, char *key); - /* xf86Bus.c */ void xf86BusProbe(void); -- cgit v1.2.3