diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:16 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:16 +0000 |
commit | f81d7ef72c9b4f13e33efa812bed9446657ed003 (patch) | |
tree | 183442a515d232d4d88cb56d6de651c215731c3f /src/TMkey.c | |
parent | bdc0667ef29e24b1a2188b11546d843a7d3e5ef6 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16
Diffstat (limited to 'src/TMkey.c')
-rw-r--r-- | src/TMkey.c | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/src/TMkey.c b/src/TMkey.c index 3087407..e338954 100644 --- a/src/TMkey.c +++ b/src/TMkey.c @@ -59,7 +59,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/Xt/TMkey.c,v 3.10 2001/12/14 19:56:30 dawes Exp $ */ +/* $XFree86: xc/lib/Xt/TMkey.c,v 3.11 2003/04/21 16:34:28 herrb Exp $ */ #define XK_MISCELLANY #define XK_LATIN1 @@ -492,24 +492,12 @@ void _XtBuildKeysymTables(dpy,pd) XFreeModifiermap(modKeymap); } -#if NeedFunctionPrototypes void XtTranslateKeycode ( Display *dpy, _XtKeyCode keycode, Modifiers modifiers, Modifiers *modifiers_return, - KeySym *keysym_return - ) -#else -void XtTranslateKeycode (dpy, keycode, modifiers, - modifiers_return, keysym_return) - - Display *dpy; - KeyCode keycode; - Modifiers modifiers; - Modifiers *modifiers_return; - KeySym *keysym_return; -#endif + KeySym *keysym_return) { XtPerDisplay pd; DPY_TO_APPCON(dpy); @@ -523,23 +511,12 @@ void XtTranslateKeycode (dpy, keycode, modifiers, } /* This code should match XTranslateKey (internal, sigh) in Xlib */ -#if NeedFunctionPrototypes void XtTranslateKey( register Display *dpy, _XtKeyCode keycode, Modifiers modifiers, Modifiers *modifiers_return, - KeySym *keysym_return - ) -#else -void XtTranslateKey(dpy, keycode, modifiers, - modifiers_return, keysym_return) - register Display *dpy; - KeyCode keycode; - Modifiers modifiers; - Modifiers *modifiers_return; - KeySym *keysym_return; -#endif + KeySym *keysym_return) #ifndef XKB { XtPerDisplay pd; |