diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c index 4da74e556..daf53deda 100644 --- a/hw/xfree86/common/xf86Events.c +++ b/hw/xfree86/common/xf86Events.c @@ -125,9 +125,6 @@ extern Bool noXkbExtension; * This has been generalised to work with Linux and *BSD+syscons (DHD) */ -#ifdef USE_VT_SYSREQ -static Bool VTSysreqToggle = FALSE; -#endif /* !USE_VT_SYSREQ */ _X_EXPORT Bool VTSwitchEnabled = TRUE; /* Allows run-time disabling for *BSD and for avoiding VT switches when using the DRI diff --git a/hw/xfree86/common/xf86Mode.c b/hw/xfree86/common/xf86Mode.c index b343788fc..0c25c96db 100644 --- a/hw/xfree86/common/xf86Mode.c +++ b/hw/xfree86/common/xf86Mode.c @@ -458,7 +458,6 @@ xf86LookupMode(ScrnInfoPtr scrp, DisplayModePtr modep, int ModePrivFlags = 0; ModeStatus status = MODE_NOMODE; Bool allowDiv2 = (strategy & LOOKUP_CLKDIV2) != 0; - Bool haveBuiltin; int n; const int types[] = { M_T_BUILTIN | M_T_PREFERRED, @@ -2038,6 +2037,7 @@ xf86SetCrtcForModes(ScrnInfoPtr scrp, int adjustFlags) } +#if 0 static void add(char **p, char *new) { @@ -2046,7 +2046,6 @@ add(char **p, char *new) strcat(*p, new); } -#if 0 _X_EXPORT void xf86PrintModeline(int scrnIndex,DisplayModePtr mode) { diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index c08b15f7e..f3d2f2169 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -84,9 +84,7 @@ #include -#include "osdep.h" /* EnabledDevices */ #include -#include "xf86_OSproc.h" /* sigio stuff */ #include "mi.h"