diff options
| author | Paul Eggert | 2013-12-07 15:04:10 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-12-07 15:04:10 -0800 |
| commit | 67840e6629754dc1a9196fed4910b58e4e7abd89 (patch) | |
| tree | 797c405b0afc688355bba15c4a71830f003e3c26 /src/xterm.c | |
| parent | 73c8ceea1ab335aae9221a671ae0959704669a52 (diff) | |
| download | emacs-67840e6629754dc1a9196fed4910b58e4e7abd89.tar.gz emacs-67840e6629754dc1a9196fed4910b58e4e7abd89.zip | |
Fix minor problems found by static checking.
* keyboard.c (poll_for_input_1, input_polling_used):
Define only if HAVE_NTGUI.
* xmenu.c (popup_activate_callback): Omit unnecessary
check against USE_X_TOOLKIT, which must be defined here anyway.
* xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]:
Now static.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index e8e69c666ee..90c7c36c44f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -248,6 +248,9 @@ static void x_sync_with_move (struct frame *, int, int, int); | |||
| 248 | static int handle_one_xevent (struct x_display_info *, | 248 | static int handle_one_xevent (struct x_display_info *, |
| 249 | const XEvent *, int *, | 249 | const XEvent *, int *, |
| 250 | struct input_event *); | 250 | struct input_event *); |
| 251 | #if ! (defined USE_X_TOOLKIT || defined USE_MOTIF) | ||
| 252 | static int x_dispatch_event (XEvent *, Display *); | ||
| 253 | #endif | ||
| 251 | /* Don't declare this _Noreturn because we want no | 254 | /* Don't declare this _Noreturn because we want no |
| 252 | interference with debugging failing X calls. */ | 255 | interference with debugging failing X calls. */ |
| 253 | static void x_connection_closed (Display *, const char *); | 256 | static void x_connection_closed (Display *, const char *); |