aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorPaul Eggert2013-12-07 15:04:10 -0800
committerPaul Eggert2013-12-07 15:04:10 -0800
commit67840e6629754dc1a9196fed4910b58e4e7abd89 (patch)
tree797c405b0afc688355bba15c4a71830f003e3c26 /src/xterm.c
parent73c8ceea1ab335aae9221a671ae0959704669a52 (diff)
downloademacs-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.c3
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);
248static int handle_one_xevent (struct x_display_info *, 248static 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)
252static 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. */
253static void x_connection_closed (Display *, const char *); 256static void x_connection_closed (Display *, const char *);