aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorPaul Eggert2014-06-08 11:27:22 -0700
committerPaul Eggert2014-06-08 11:27:22 -0700
commitff2d0e8336c05cb7d3e86f7406784cefc1d6589e (patch)
tree05c8974f47e1eee47c7ad5b39379a6687d15217d /src/term.c
parent83f1450065c55a3e5dce5db0da737cb7a6a4d60c (diff)
downloademacs-ff2d0e8336c05cb7d3e86f7406784cefc1d6589e.tar.gz
emacs-ff2d0e8336c05cb7d3e86f7406784cefc1d6589e.zip
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;
527 Set CODING->produced to the byte-length of the resulting byte 527 Set CODING->produced to the byte-length of the resulting byte
528 sequence, and return a pointer to that byte sequence. */ 528 sequence, and return a pointer to that byte sequence. */
529 529
530#ifndef DOS_NT
531static
532#endif
533unsigned char * 530unsigned char *
534encode_terminal_code (struct glyph *src, int src_len, 531encode_terminal_code (struct glyph *src, int src_len,
535 struct coding_system *coding) 532 struct coding_system *coding)
@@ -3583,9 +3580,6 @@ tty_menu_new_item_coords (struct frame *f, int which, int *x, int *y)
3583} 3580}
3584 3581
3585/* WINDOWSNT uses this as menu_show_hook, see w32console.c. */ 3582/* WINDOWSNT uses this as menu_show_hook, see w32console.c. */
3586#ifndef WINDOWSNT
3587static
3588#endif
3589Lisp_Object 3583Lisp_Object
3590tty_menu_show (struct frame *f, int x, int y, int menuflags, 3584tty_menu_show (struct frame *f, int x, int y, int menuflags,
3591 Lisp_Object title, const char **error_name) 3585 Lisp_Object title, const char **error_name)