X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fevent-tty.c;h=0e44cf445ff4e086ba52ef63ba467a0e3db77448;hb=0680bf5c284a73aaa6e267c4b0f1363d2cb48739;hp=00dd49ce10837af325a71d1486e833ddcec58a19;hpb=35adcaaeafb1fe93eaf00c39b48619e8f188ff3f;p=chise%2Fxemacs-chise.git- diff --git a/src/event-tty.c b/src/event-tty.c index 00dd49c..0e44cf4 100644 --- a/src/event-tty.c +++ b/src/event-tty.c @@ -94,8 +94,8 @@ emacs_tty_event_pending_p (int user_p) non_fake_input_wait_mask); } -static struct console * -find_console_from_fd (int fd) +struct console * +tty_find_console_from_fd (int fd) { Lisp_Object concons; @@ -142,7 +142,7 @@ emacs_tty_next_event (struct Lisp_Event *emacs_event) user events ahead of process events. */ if (FD_ISSET (i, &temp_mask) && FD_ISSET (i, &tty_only_mask)) { - struct console *c = find_console_from_fd (i); + struct console *c = tty_find_console_from_fd (i); assert (c); if (read_event_from_tty_or_stream_desc (emacs_event, c, i))