summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */