Mercurial > emacs
changeset 88550:77b7f94032fa
(XSetIMValues): Declare.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 17 May 2002 16:43:06 +0000 |
parents | c88e9fa13453 |
children | 936dca068940 |
files | src/xterm.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri May 17 16:37:56 2002 +0000 +++ b/src/xterm.c Fri May 17 16:43:06 2002 +0000 @@ -151,6 +151,11 @@ #endif #endif +#ifdef HAVE_X11R6 +/* This isn't prototyped in OSF 5.0 or or XFree 4.1. */ +extern char * XSetIMValues P_ ((XIM, ...)); +#endif + #define abs(x) ((x) < 0 ? -(x) : (x)) #define BETWEEN(X, LOWER, UPPER) ((X) >= (LOWER) && (X) < (UPPER)) @@ -12435,7 +12440,6 @@ #ifdef HAVE_X11R6 destroy.callback = xim_destroy_callback; destroy.client_data = (XPointer)dpyinfo; - /* This isn't prototyped in OSF 5.0. */ XSetIMValues (xim, XNDestroyCallback, &destroy, NULL); #endif }