summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2004-11-24 02:45:33 +0000
committerKristian Høgsberg <krh@redhat.com>2004-11-24 02:45:33 +0000
commitda3df7522d15855fa871c45f3b8db23e7c639a44 (patch)
treeb03b95ab8b92b98ea55a92b4cdb15764c1d270fe
parent9a26d6f39e199bad287d4e538ef75700a0102788 (diff)
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
-rw-r--r--hw/xfree86/common/xf86.h5
-rw-r--r--hw/xfree86/common/xf86Init.c17
-rw-r--r--hw/xfree86/common/xf86Priv.h3
-rw-r--r--include/os.h5
4 files changed, 0 insertions, 30 deletions
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);
diff --git a/include/os.h b/include/os.h
index b553e06e1..6e8602577 100644
--- a/include/os.h
+++ b/include/os.h
@@ -544,9 +544,4 @@ extern int snprintf(char *str, size_t size, const char *format, ...)
extern int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
-#ifdef printf_defined
-#define printf xf86printf
-#undef printf_defined
-#endif
-
#endif /* OS_H */