summaryrefslogtreecommitdiff
path: root/src/term.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/term.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/term.c')
-rw-r--r--src/term.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/term.c b/src/term.c
index 37a938e338d..642907979aa 100644
--- a/src/term.c
+++ b/src/term.c
@@ -527,9 +527,6 @@ static ptrdiff_t encode_terminal_dst_size;
Set CODING->produced to the byte-length of the resulting byte
sequence, and return a pointer to that byte sequence. */
-#ifndef DOS_NT
-static
-#endif
unsigned char *
encode_terminal_code (struct glyph *src, int src_len,
struct coding_system *coding)
@@ -3583,9 +3580,6 @@ tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y)
}
/* WINDOWSNT uses this as menu_show_hook, see w32console.c. */
-#ifndef WINDOWSNT
-static
-#endif
Lisp_Object
tty_menu_show (struct frame *f, int x, int y, int menuflags,
Lisp_Object title, const char **error_name)