# HG changeset patch # User Dave Love # Date 1021653786 0 # Node ID 77b7f94032fafaf79dc61d1ef4685b60eb6c2bac # Parent c88e9fa1345323eda0f5ef977bfb69fdfec56c79 (XSetIMValues): Declare. diff -r c88e9fa13453 -r 77b7f94032fa src/xterm.c --- 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 }