From 981c8cc2e4cfa31bdfe7366c58c8e7f97aab1765 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 17 May 2002 16:43:06 +0000 Subject: [PATCH] (XSetIMValues): Declare. --- src/xterm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index eb1f2845ced..57c335e1146 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -151,6 +151,11 @@ extern void _XEditResCheckMessages (); #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 @@ xim_open_dpy (dpyinfo, resource_name) #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 } -- 2.39.2