diff options
Diffstat (limited to 'src/xlibi18n/ICWrap.c')
-rw-r--r-- | src/xlibi18n/ICWrap.c | 41 |
1 files changed, 9 insertions, 32 deletions
diff --git a/src/xlibi18n/ICWrap.c b/src/xlibi18n/ICWrap.c index 4581405..73b1603 100644 --- a/src/xlibi18n/ICWrap.c +++ b/src/xlibi18n/ICWrap.c @@ -391,7 +391,8 @@ XwcResetIC(ic) } char * -XFree86utf8ResetIC(XIC ic) +Xutf8ResetIC(ic) + XIC ic; { if (ic->core.im) { if (ic->methods->utf8_reset) @@ -402,15 +403,6 @@ XFree86utf8ResetIC(XIC ic) return (char *)NULL; } -#ifndef NOXFREE86COMPAT -#undef Xutf8ResetIC -char * -Xutf8ResetIC(XIC ic) -{ - return XFree86utf8ResetIC(ic); -} -#endif - int XmbLookupString(ic, ev, buffer, nbytes, keysym, status) XIC ic; @@ -442,13 +434,13 @@ XwcLookupString(ic, ev, buffer, nchars, keysym, status) } int -XFree86utf8LookupString( - XIC ic, - register XKeyEvent *ev, - char *buffer, - int nbytes, - KeySym *keysym, - Status *status) +Xutf8LookupString(ic, ev, buffer, nbytes, keysym, status) + XIC ic; + register XKeyEvent *ev; + char *buffer; + int nbytes; + KeySym *keysym; + Status *status; { if (ic->core.im) { if (ic->methods->utf8_lookup_string) @@ -460,18 +452,3 @@ XFree86utf8LookupString( } return XLookupNone; } - -#ifndef NOXFREE86COMPAT -#undef Xutf8LookupString -int -Xutf8LookupString( - XIC ic, - register XKeyEvent *ev, - char *buffer, - int nbytes, - KeySym *keysym, - Status *status) -{ - return XFree86utf8LookupString(ic, ev, buffer, nbytes, keysym, status); -} -#endif |