aboutsummaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/xvnc.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-01-29 10:23:40 +0100
committerPierre Ossman <ossman@cendio.se>2015-01-29 10:23:40 +0100
commit37e5af91ca770281a1a6cfdc5ccaf28c05ed5486 (patch)
tree19e99626fff0549f4fe28b3058d7e55d6d2f7852 /unix/xserver/hw/vnc/xvnc.c
parent8081ba507de44560ef58e604aa9b9e5b8050b6a7 (diff)
downloadtigervnc-37e5af91ca770281a1a6cfdc5ccaf28c05ed5486.tar.gz
tigervnc-37e5af91ca770281a1a6cfdc5ccaf28c05ed5486.zip
Properly define functions as not having any arguments
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.c')
-rw-r--r--unix/xserver/hw/vnc/xvnc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c
index 617983d3..e2fc1bcd 100644
--- a/unix/xserver/hw/vnc/xvnc.c
+++ b/unix/xserver/hw/vnc/xvnc.c
@@ -211,7 +211,7 @@ int DPMSSet(ClientPtr client, int level)
return Success;
}
-Bool DPMSSupported()
+Bool DPMSSupported(void)
{
/* Causes DPMSCapable to return false, meaning no devices are DPMS
capable */
@@ -270,7 +270,7 @@ DarwinGlxWrapInitVisuals(
#endif
void
-OsVendorInit()
+OsVendorInit(void)
{
}
@@ -288,8 +288,7 @@ void ddxBeforeReset(void)
return;
}
-void
-ddxUseMsg()
+void ddxUseMsg(void)
{
ErrorF("\nXvnc %s - built %s\n%s", XVNCVERSION, buildtime, XVNCCOPYRIGHT);
ErrorF("Underlying X server release %d, %s\n\n", VENDOR_RELEASE,
@@ -1678,7 +1677,7 @@ Bool LegalModifier(unsigned int key, DeviceIntPtr pDev)
return TRUE;
}
-void ProcessInputEvents()
+void ProcessInputEvents(void)
{
mieqProcessInputEvents();
#if XORG == 15