aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/KeysymStr.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/KeysymStr.c')
-rw-r--r--nx-X11/lib/X11/KeysymStr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/nx-X11/lib/X11/KeysymStr.c b/nx-X11/lib/X11/KeysymStr.c
index 8afca1c5b..96c49227a 100644
--- a/nx-X11/lib/X11/KeysymStr.c
+++ b/nx-X11/lib/X11/KeysymStr.c
@@ -31,11 +31,10 @@ in this Software without prior written authorization from The Open Group.
#include "Xlibint.h"
#include <nx-X11/Xresource.h>
#include <nx-X11/keysymdef.h>
+#include "Xresinternal.h"
#include <stdio.h> /* sprintf */
-typedef unsigned long Signature;
-
#define NEEDVTABLE
#include "ks_tables.h"
#include "Key.h"
@@ -69,8 +68,7 @@ SameValue(
return False;
}
-char *XKeysymToString(ks)
- KeySym ks;
+char *XKeysymToString(KeySym ks)
{
register int i, n;
int h;
@@ -146,7 +144,7 @@ char *XKeysymToString(ks)
s[i] = 'A'+ val1 - 10;
}
s[i] = 'U';
- return s;
+ return s;
}
return ((char *) NULL);
}