diff options
| author | Dave Love | 2002-05-17 16:43:06 +0000 |
|---|---|---|
| committer | Dave Love | 2002-05-17 16:43:06 +0000 |
| commit | 981c8cc2e4cfa31bdfe7366c58c8e7f97aab1765 (patch) | |
| tree | 369444a247c79e27d5bb5a3453154c39d111c7d7 /src | |
| parent | c8e19d0bd87fcce54e08907af1d934a1deadc0c0 (diff) | |
| download | emacs-981c8cc2e4cfa31bdfe7366c58c8e7f97aab1765.tar.gz emacs-981c8cc2e4cfa31bdfe7366c58c8e7f97aab1765.zip | |
(XSetIMValues): Declare.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 (); | |||
| 151 | #endif | 151 | #endif |
| 152 | #endif | 152 | #endif |
| 153 | 153 | ||
| 154 | #ifdef HAVE_X11R6 | ||
| 155 | /* This isn't prototyped in OSF 5.0 or or XFree 4.1. */ | ||
| 156 | extern char * XSetIMValues P_ ((XIM, ...)); | ||
| 157 | #endif | ||
| 158 | |||
| 154 | #define abs(x) ((x) < 0 ? -(x) : (x)) | 159 | #define abs(x) ((x) < 0 ? -(x) : (x)) |
| 155 | 160 | ||
| 156 | #define BETWEEN(X, LOWER, UPPER) ((X) >= (LOWER) && (X) < (UPPER)) | 161 | #define BETWEEN(X, LOWER, UPPER) ((X) >= (LOWER) && (X) < (UPPER)) |
| @@ -12435,7 +12440,6 @@ xim_open_dpy (dpyinfo, resource_name) | |||
| 12435 | #ifdef HAVE_X11R6 | 12440 | #ifdef HAVE_X11R6 |
| 12436 | destroy.callback = xim_destroy_callback; | 12441 | destroy.callback = xim_destroy_callback; |
| 12437 | destroy.client_data = (XPointer)dpyinfo; | 12442 | destroy.client_data = (XPointer)dpyinfo; |
| 12438 | /* This isn't prototyped in OSF 5.0. */ | ||
| 12439 | XSetIMValues (xim, XNDestroyCallback, &destroy, NULL); | 12443 | XSetIMValues (xim, XNDestroyCallback, &destroy, NULL); |
| 12440 | #endif | 12444 | #endif |
| 12441 | } | 12445 | } |