diff options
| author | Paul Eggert | 2011-04-13 19:52:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 19:52:33 -0700 |
| commit | 64520e5cf9ad7cba4f23288bffeec1aa2fff6c49 (patch) | |
| tree | b445ada9d58f3bde565681126314b49cc3c7852f /src/termhooks.h | |
| parent | 1fa530214b68560d962c10c786a562f11a479444 (diff) | |
| download | emacs-64520e5cf9ad7cba4f23288bffeec1aa2fff6c49.tar.gz emacs-64520e5cf9ad7cba4f23288bffeec1aa2fff6c49.zip | |
* 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 0ccd2dac9e1..2f509009bd9 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -306,7 +306,9 @@ enum { | |||
| 306 | #ifdef HAVE_GPM | 306 | #ifdef HAVE_GPM |
| 307 | #include <gpm.h> | 307 | #include <gpm.h> |
| 308 | extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *); | 308 | extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *); |
| 309 | #ifndef HAVE_WINDOW_SYSTEM | ||
| 309 | extern void term_mouse_moveto (int, int); | 310 | extern void term_mouse_moveto (int, int); |
| 311 | #endif | ||
| 310 | 312 | ||
| 311 | /* The device for which we have enabled gpm support. */ | 313 | /* The device for which we have enabled gpm support. */ |
| 312 | extern struct tty_display_info *gpm_tty; | 314 | extern struct tty_display_info *gpm_tty; |
| @@ -660,4 +662,3 @@ extern unsigned char *encode_terminal_code (struct glyph *, int, | |||
| 660 | #ifdef HAVE_GPM | 662 | #ifdef HAVE_GPM |
| 661 | extern void close_gpm (int gpm_fd); | 663 | extern void close_gpm (int gpm_fd); |
| 662 | #endif | 664 | #endif |
| 663 | |||