aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/xkb/xkb.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2016-06-29 15:02:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:20:38 +0200
commitd60297e41fd4d0c0fcbe67b434f635a0f6487f05 (patch)
tree7b6bb444c48a813d2f76ae664bb03cc2dc19a2cb /nx-X11/programs/Xserver/xkb/xkb.c
parentecaf4df7f2f3bcefd22e62702a40103ad31d02e1 (diff)
downloadnx-libs-d60297e41fd4d0c0fcbe67b434f635a0f6487f05.tar.gz
nx-libs-d60297e41fd4d0c0fcbe67b434f635a0f6487f05.tar.bz2
nx-libs-d60297e41fd4d0c0fcbe67b434f635a0f6487f05.zip
Remove INITARGS braindamage, change to void; add XkbExtensionInit prototype to xkb.h. Explicitly initialise nTypes in xkb.c.
Diffstat (limited to 'nx-X11/programs/Xserver/xkb/xkb.c')
-rw-r--r--nx-X11/programs/Xserver/xkb/xkb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/xkb/xkb.c b/nx-X11/programs/Xserver/xkb/xkb.c
index 6c6e67f1e..65a4c3747 100644
--- a/nx-X11/programs/Xserver/xkb/xkb.c
+++ b/nx-X11/programs/Xserver/xkb/xkb.c
@@ -2277,7 +2277,7 @@ ProcXkbSetMap(ClientPtr client)
XkbDescPtr xkb;
XkbChangesRec change;
XkbEventCauseRec cause;
- int nTypes,nActions,error;
+ int nTypes = 0,nActions,error;
char * tmp;
CARD8 mapWidths[XkbMaxLegalKeyCode+1];
CARD16 symsPerKey[XkbMaxLegalKeyCode+1];
@@ -6200,7 +6200,7 @@ XkbResetProc(ExtensionEntry *extEntry)
}
void
-XkbExtensionInit(INITARGS)
+XkbExtensionInit(void)
{
ExtensionEntry *extEntry;