aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Options.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-26 12:22:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-26 13:02:00 +0100
commit99fb9817f6452df63b0c9258342086b5769ba468 (patch)
tree023e9491ffd3bd6f6f821353464a874f176d7935 /nx-X11/programs/Xserver/hw/nxagent/Options.c
parentdeeac7e0f50f4ca7346406325be2e3d26f74d750 (diff)
downloadnx-libs-99fb9817f6452df63b0c9258342086b5769ba468.tar.gz
nx-libs-99fb9817f6452df63b0c9258342086b5769ba468.tar.bz2
nx-libs-99fb9817f6452df63b0c9258342086b5769ba468.zip
hw/nxagent/: Use <function>(void) rather than <function>().
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Options.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Options.c b/nx-X11/programs/Xserver/hw/nxagent/Options.c
index dba54a6c6..c06967c76 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Options.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Options.c
@@ -56,7 +56,7 @@ unsigned int nxagentPrintGeometryFlags = 0;
* the options repository to the default values.
*/
-void nxagentInitOptions()
+void nxagentInitOptions(void)
{
nxagentOptions.LinkType = UNDEFINED;
@@ -183,7 +183,7 @@ void nxagentInitOptions()
* ting.
*/
-void nxagentResetOptions()
+void nxagentResetOptions(void)
{
if (nxagentLockDeferLevel == 0)
{
@@ -201,12 +201,12 @@ void nxagentResetOptions()
nxagentOptions.KeycodeConversion = DEFAULT_KEYCODE_CONVERSION;
}
-void nxagentSaveOptions()
+void nxagentSaveOptions(void)
{
memcpy(&nxagentOptionsBackup, &nxagentOptions, sizeof(AgentOptionsRec));
}
-void nxagentRestoreOptions()
+void nxagentRestoreOptions(void)
{
nxagentOptions.DeferLevel = nxagentOptionsBackup.DeferLevel;
nxagentOptions.DeferTimeout = nxagentOptionsBackup.DeferTimeout;