mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
xfree86: ANSI cleanups
This commit is contained in:
parent
dba3b1944d
commit
aec4c0caca
19 changed files with 56 additions and 62 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ xf86CheckMTRR(int ScreenNum)
|
|||
}
|
||||
|
||||
Bool
|
||||
xf86LinearVidMem()
|
||||
xf86LinearVidMem(void)
|
||||
{
|
||||
xf86InitVidMem();
|
||||
return vidMemInfo.linearSupported;
|
||||
|
|
|
|||
Loading…
Reference in a new issue