summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-06-08 11:27:22 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-06-08 11:27:22 -0700
commitff2d0e8336c05cb7d3e86f7406784cefc1d6589e (patch)
tree05c8974f47e1eee47c7ad5b39379a6687d15217d /src/keyboard.c
parent83f1450065c55a3e5dce5db0da737cb7a6a4d60c (diff)
downloademacs-ff2d0e8336c05cb7d3e86f7406784cefc1d6589e.tar.gz
If a C name must be extern on some platforms, make it extern on all.
* dispextern.h (set_vertical_scroll_bar, erase_phys_cursor) (load_color): * font.h (ftxfont_driver) [HAVE_XFT]: * keyboard.h (menu_items_inuse, ignore_mouse_drag_p, make_ctrl_char): * lisp.h (get_frame_param): * menu.h (tty_menu_show): * process.h (conv_sockaddr_to_lisp, catch_child_signal): * termhooks.h (encode_terminal_code): * xterm.h (x_menu_wait_for_event): Always declare. * frame.c (get_frame_param): * fringe.c (max_used_fringe_bitmap): * ftxfont.c (ftxfont_driver): * keyboard.c (ignore_mouse_drag_p, make_ctrl_char): * menu.c (menu_items_inuse): * process.c (conv_sockaddr_to_lisp, catch_child_signal): * term.c (encode_terminal_code, tty_menu_show): * xdisp.c (set_vertical_scroll_bar, erase_phys_cursor): * xfaces.c (load_color): * xmenu.c (x_menu_wait_for_event): Now always extern.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 568c8203c7f..dcf89137a5c 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1286,9 +1286,6 @@ usage: (track-mouse BODY...) */)
If ignore_mouse_drag_p is non-zero, ignore (implicit) mouse movement
after resizing the tool-bar window. */
-#if !defined HAVE_WINDOW_SYSTEM || defined USE_GTK || defined HAVE_NS
-static
-#endif
bool ignore_mouse_drag_p;
static struct frame *
@@ -2085,9 +2082,6 @@ bind_polling_period (int n)
/* Apply the control modifier to CHARACTER. */
-#ifndef HAVE_NTGUI
-static
-#endif
int
make_ctrl_char (int c)
{