Janitor work. Remove 'defined but not used' warnings from xorg and other cosmetic.
This commit is contained in:
parent
1340f34ec9
commit
38f8e53668
|
@ -125,9 +125,6 @@ extern Bool noXkbExtension;
|
||||||
* This has been generalised to work with Linux and *BSD+syscons (DHD)
|
* 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
|
_X_EXPORT Bool VTSwitchEnabled = TRUE; /* Allows run-time disabling for
|
||||||
*BSD and for avoiding VT
|
*BSD and for avoiding VT
|
||||||
switches when using the DRI
|
switches when using the DRI
|
||||||
|
|
|
@ -458,7 +458,6 @@ xf86LookupMode(ScrnInfoPtr scrp, DisplayModePtr modep,
|
||||||
int ModePrivFlags = 0;
|
int ModePrivFlags = 0;
|
||||||
ModeStatus status = MODE_NOMODE;
|
ModeStatus status = MODE_NOMODE;
|
||||||
Bool allowDiv2 = (strategy & LOOKUP_CLKDIV2) != 0;
|
Bool allowDiv2 = (strategy & LOOKUP_CLKDIV2) != 0;
|
||||||
Bool haveBuiltin;
|
|
||||||
int n;
|
int n;
|
||||||
const int types[] = {
|
const int types[] = {
|
||||||
M_T_BUILTIN | M_T_PREFERRED,
|
M_T_BUILTIN | M_T_PREFERRED,
|
||||||
|
@ -2038,6 +2037,7 @@ xf86SetCrtcForModes(ScrnInfoPtr scrp, int adjustFlags)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
add(char **p, char *new)
|
add(char **p, char *new)
|
||||||
{
|
{
|
||||||
|
@ -2046,7 +2046,6 @@ add(char **p, char *new)
|
||||||
strcat(*p, new);
|
strcat(*p, new);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
_X_EXPORT void
|
_X_EXPORT void
|
||||||
xf86PrintModeline(int scrnIndex,DisplayModePtr mode)
|
xf86PrintModeline(int scrnIndex,DisplayModePtr mode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -84,9 +84,7 @@
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#include "osdep.h" /* EnabledDevices */
|
|
||||||
#include <X11/Xpoll.h>
|
#include <X11/Xpoll.h>
|
||||||
#include "xf86_OSproc.h" /* sigio stuff */
|
|
||||||
|
|
||||||
#include "mi.h"
|
#include "mi.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue