aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
authorTomas Carnecky <tom@dbservice.com>2016-07-05 08:16:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:20:38 +0200
commitb15fc63f4c0c4c741af1255d17907ba3b98b5cf9 (patch)
treed13d3a78686c3d44fd4d89adfd1b57ddd4274533 /nx-X11/programs/Xserver/hw
parentf0af82cbbac03a128a573144da61a693ffa09e28 (diff)
downloadnx-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/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXshm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
index 86b9e0d24..28b42d676 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXshm.c
@@ -76,7 +76,7 @@ extern void fbPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth,
char *pImage);
void
-ShmExtensionInit(INITARGS)
+ShmExtensionInit(void)
{
ExtensionEntry *extEntry;
int i;