Janitor work. Remove 'defined but not used' warnings from xorg and other cosmetic.

This commit is contained in:
Tiago Vignatti 2007-06-27 03:19:37 -03:00
parent 1340f34ec9
commit 38f8e53668
3 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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)
{

View File

@ -84,9 +84,7 @@
#include <stdarg.h>
#include "osdep.h" /* EnabledDevices */
#include <X11/Xpoll.h>
#include "xf86_OSproc.h" /* sigio stuff */
#include "mi.h"