diff options
author | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:33:18 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:54:11 +0100 |
commit | aec4c0caca41a06832536ba82ba5bcdccf4a0aea (patch) | |
tree | 18a7e1bbfa559bd06d293ecde86ff5510201096d /hw/xfree86/os-support | |
parent | dba3b1944d04232f88bb310277639f2c1adcbe08 (diff) |
xfree86: ANSI cleanups
Diffstat (limited to 'hw/xfree86/os-support')
-rw-r--r-- | hw/xfree86/os-support/linux/lnx_agp.c | 2 | ||||
-rw-r--r-- | hw/xfree86/os-support/linux/lnx_init.c | 4 | ||||
-rw-r--r-- | hw/xfree86/os-support/shared/VTsw_usl.c | 6 | ||||
-rw-r--r-- | hw/xfree86/os-support/shared/vidmem.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_agp.c b/hw/xfree86/os-support/linux/lnx_agp.c index 4c1722fef..e5eb30c92 100644 --- a/hw/xfree86/os-support/linux/lnx_agp.c +++ b/hw/xfree86/os-support/linux/lnx_agp.c @@ -117,7 +117,7 @@ GARTInit(int screenNum) } Bool -xf86AgpGARTSupported() +xf86AgpGARTSupported(void) { return GARTInit(-1); } diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c index 6ee8ed6bd..0ac97e891 100644 --- a/hw/xfree86/os-support/linux/lnx_init.c +++ b/hw/xfree86/os-support/linux/lnx_init.c @@ -348,7 +348,7 @@ xf86OpenConsole(void) } void -xf86CloseConsole() +xf86CloseConsole(void) { struct vt_mode VT; #if defined(DO_OS_FONTRESTORE) @@ -457,7 +457,7 @@ xf86ProcessArgument(int argc, char *argv[], int i) } void -xf86UseMsg() +xf86UseMsg(void) { ErrorF("vtXX use the specified VT number\n"); ErrorF("-keeptty "); diff --git a/hw/xfree86/os-support/shared/VTsw_usl.c b/hw/xfree86/os-support/shared/VTsw_usl.c index 4d473147f..9308640e2 100644 --- a/hw/xfree86/os-support/shared/VTsw_usl.c +++ b/hw/xfree86/os-support/shared/VTsw_usl.c @@ -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) diff --git a/hw/xfree86/os-support/shared/vidmem.c b/hw/xfree86/os-support/shared/vidmem.c index f8a488a56..803ce09bd 100644 --- a/hw/xfree86/os-support/shared/vidmem.c +++ b/hw/xfree86/os-support/shared/vidmem.c @@ -275,7 +275,7 @@ xf86CheckMTRR(int ScreenNum) } Bool -xf86LinearVidMem() +xf86LinearVidMem(void) { xf86InitVidMem(); return vidMemInfo.linearSupported; |