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.h | |
| 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.h')
| -rw-r--r-- | src/xterm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index 3d954fb8600..eff75403476 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -945,7 +945,9 @@ extern void x_clear_area (Display *, Window, int, int, int, int); | |||
| 945 | extern void x_mouse_leave (struct x_display_info *); | 945 | extern void x_mouse_leave (struct x_display_info *); |
| 946 | #endif | 946 | #endif |
| 947 | 947 | ||
| 948 | #if defined USE_X_TOOLKIT || defined USE_MOTIF | ||
| 948 | extern int x_dispatch_event (XEvent *, Display *); | 949 | extern int x_dispatch_event (XEvent *, Display *); |
| 950 | #endif | ||
| 949 | extern int x_x_to_emacs_modifiers (struct x_display_info *, int); | 951 | extern int x_x_to_emacs_modifiers (struct x_display_info *, int); |
| 950 | extern int x_display_pixel_height (struct x_display_info *); | 952 | extern int x_display_pixel_height (struct x_display_info *); |
| 951 | extern int x_display_pixel_width (struct x_display_info *); | 953 | extern int x_display_pixel_width (struct x_display_info *); |