diff options
Diffstat (limited to 'xc/lib/X11/KeysymStr.c')
-rw-r--r-- | xc/lib/X11/KeysymStr.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/xc/lib/X11/KeysymStr.c b/xc/lib/X11/KeysymStr.c index 09df3cc0b..4cbd75a78 100644 --- a/xc/lib/X11/KeysymStr.c +++ b/xc/lib/X11/KeysymStr.c @@ -21,7 +21,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/X11/KeysymStr.c,v 3.6 2001/01/17 19:41:38 dawes Exp $ */ +/* $XFree86: xc/lib/X11/KeysymStr.c,v 3.7 2001/07/25 15:04:44 dawes Exp $ */ #include "Xlibint.h" #include <X11/Xresource.h> @@ -29,19 +29,13 @@ in this Software without prior written authorization from The Open Group. #include <stdio.h> /* sprintf */ -#ifdef __STDC__ -#define Const const -#else -#define Const /**/ -#endif - typedef unsigned long Signature; #define NEEDVTABLE #include "ks_tables.h" extern XrmDatabase _XInitKeysymDB(); -extern Const unsigned char _XkeyTable[]; +extern const unsigned char _XkeyTable[]; typedef struct _GRNData { @@ -87,7 +81,7 @@ char *XKeysymToString(ks) register int i, n; int h; register int idx; - Const unsigned char *entry; + const unsigned char *entry; unsigned char val1, val2; XrmDatabase keysymdb; |