Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2013 23:04:10 +0000 (15:04 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2013 23:04:10 +0000 (15:04 -0800)
commit67840e6629754dc1a9196fed4910b58e4e7abd89
tree797c405b0afc688355bba15c4a71830f003e3c26
parent73c8ceea1ab335aae9221a671ae0959704669a52
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.
src/ChangeLog
src/keyboard.c
src/xmenu.c
src/xterm.c
src/xterm.h