diff options
author | Tomas Carnecky <tom@dbservice.com> | 2016-07-05 08:16:09 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-07-05 08:20:38 +0200 |
commit | b15fc63f4c0c4c741af1255d17907ba3b98b5cf9 (patch) | |
tree | d13d3a78686c3d44fd4d89adfd1b57ddd4274533 /nx-X11/programs/Xserver/Xext/dpms.c | |
parent | f0af82cbbac03a128a573144da61a693ffa09e28 (diff) | |
download | nx-libs-b15fc63f4c0c4c741af1255d17907ba3b98b5cf9.tar.gz nx-libs-b15fc63f4c0c4c741af1255d17907ba3b98b5cf9.tar.bz2 nx-libs-b15fc63f4c0c4c741af1255d17907ba3b98b5cf9.zip |
Replace INITARGS with void
INITARGS was a hardcoded define to void. Since knowing the function
signature for your extensions is kinda useful, just replace it with a
hardcoded void, but leave the define there for API compatibility.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
Backport to nx-libs: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'nx-X11/programs/Xserver/Xext/dpms.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/dpms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/Xext/dpms.c b/nx-X11/programs/Xserver/Xext/dpms.c index f88e1656e..eab73ebed 100644 --- a/nx-X11/programs/Xserver/Xext/dpms.c +++ b/nx-X11/programs/Xserver/Xext/dpms.c @@ -76,7 +76,7 @@ static DISPATCH_PROC(SProcDPMSCapable); static void DPMSResetProc(ExtensionEntry* extEntry); void -DPMSExtensionInit(INITARGS) +DPMSExtensionInit(void) { #if 0 ExtensionEntry *extEntry; |