aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorKaroly Lorentey2004-01-11 01:18:45 +0000
committerKaroly Lorentey2004-01-11 01:18:45 +0000
commit8f1ce42333b410e736053a7c5cbbf102032c84f2 (patch)
treed0a7fa64f0e9085286fbff86efc45963ee38f1a0 /src/termhooks.h
parentb80bf66eabbf9e132e767b1421b2307e8c50afc1 (diff)
downloademacs-8f1ce42333b410e736053a7c5cbbf102032c84f2.tar.gz
emacs-8f1ce42333b410e736053a7c5cbbf102032c84f2.zip
Changed tty input code to use read_socket_hook.
src/keyboard.c (read_avail_input): Removed tty-related code. (tty_read_avail_input): New function. src/keyboard.h (tty_read_avail_input): New prototype. src/term.c (term_init): Set read_socket_hook. Removed bogus baud rate initialization. src/termhooks.h (read_socket_hook): Added display parameter. src/xterm.c (XTread_socket): Added display parameter (unused). git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-51
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 7114621b042..7dda9e2ef07 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -473,7 +473,7 @@ struct display
473 473
474 474
475 /* Called to read input events. */ 475 /* Called to read input events. */
476 int (*read_socket_hook) P_ ((struct input_event *, int, int)); 476 int (*read_socket_hook) P_ ((struct display *, struct input_event *, int, int));
477 477
478 /* Called when a frame's display becomes entirely up to date. */ 478 /* Called when a frame's display becomes entirely up to date. */
479 void (*frame_up_to_date_hook) P_ ((struct frame *)); 479 void (*frame_up_to_date_hook) P_ ((struct frame *));