diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 19:52:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-13 19:52:33 -0700 |
commit | 64520e5cf9ad7cba4f23288bffeec1aa2fff6c49 (patch) | |
tree | b445ada9d58f3bde565681126314b49cc3c7852f /src/termhooks.h | |
parent | 1fa530214b68560d962c10c786a562f11a479444 (diff) |
* term.c: Make symbols static if they're not exported.
(tty_turn_off_highlight, get_tty_terminal, max_frame_cols):
(max_frame_lines, tty_set_terminal_modes):
(tty_reset_terminal_modes, tty_turn_off_highlight):
(get_tty_terminal): Now static.
(term_mouse_moveto): Do not define if HAVE_WINDOW_SYSTEM.
* termhooks.h (term_mouse_moveto): Do not declare if
HAVE_WINDOW_SYSTEMM.
* dispextern.h (tty_set_terminal_modes, tty_reset_terminal_modes):
(tty_turn_off_highlight, get_tty_terminal): Remove decls.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r-- | src/termhooks.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 0ccd2dac9e..2f509009bd 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -306,7 +306,9 @@ enum { #ifdef HAVE_GPM #include <gpm.h> extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *); +#ifndef HAVE_WINDOW_SYSTEM extern void term_mouse_moveto (int, int); +#endif /* The device for which we have enabled gpm support. */ extern struct tty_display_info *gpm_tty; @@ -660,4 +662,3 @@ extern unsigned char *encode_terminal_code (struct glyph *, int, #ifdef HAVE_GPM extern void close_gpm (int gpm_fd); #endif - |