summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorTiago Vignatti <vignatti@c3sl.ufpr.br>2007-06-27 03:19:37 -0300
committerTiago Vignatti <vignatti@c3sl.ufpr.br>2007-06-27 03:19:37 -0300
commit38f8e536684193c3f70b23be22d818053c676072 (patch)
tree02c3ffcf11b58fab43513470e9336977e5cbddec /hw
parent1340f34ec98c41781164018d43bd7bb858d8132b (diff)
Janitor work. Remove 'defined but not used' warnings from xorg and other cosmetic.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Events.c3
-rw-r--r--hw/xfree86/common/xf86Mode.c3
-rw-r--r--hw/xfree86/common/xf86Xinput.c2
3 files changed, 1 insertions, 7 deletions
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 <stdarg.h>
-#include "osdep.h" /* EnabledDevices */
#include <X11/Xpoll.h>
-#include "xf86_OSproc.h" /* sigio stuff */
#include "mi.h"