xfree86: ANSI cleanups

This commit is contained in:
Julien Cristau 2009-01-11 08:33:18 +01:00
commit aec4c0caca
19 changed files with 56 additions and 62 deletions

View file

@ -53,13 +53,13 @@ xf86VTRequest(int sig)
}
Bool
xf86VTSwitchPending()
xf86VTSwitchPending(void)
{
return(xf86Info.vtRequestsPending ? TRUE : FALSE);
}
Bool
xf86VTSwitchAway()
xf86VTSwitchAway(void)
{
xf86Info.vtRequestsPending = FALSE;
if (ioctl(xf86Info.consoleFd, VT_RELDISP, 1) < 0)
@ -76,7 +76,7 @@ xf86VTSwitchAway()
}
Bool
xf86VTSwitchTo()
xf86VTSwitchTo(void)
{
xf86Info.vtRequestsPending = FALSE;
if (ioctl(xf86Info.consoleFd, VT_RELDISP, VT_ACKACQ) < 0)

View file

@ -275,7 +275,7 @@ xf86CheckMTRR(int ScreenNum)
}
Bool
xf86LinearVidMem()
xf86LinearVidMem(void)
{
xf86InitVidMem();
return vidMemInfo.linearSupported;