Deleted Added
full compact
39c39
< * $Id: tty.c,v 1.54 1995/07/21 20:52:38 bde Exp $
---
> * $Id: tty.c,v 1.55 1995/07/21 22:51:50 bde Exp $
2056a2057,2073
> * Wake up any writers on a tty.
> */
> void
> ttwwakeup(tp)
> register struct tty *tp;
> {
>
> if (tp->t_outq.c_cc <= tp->t_lowat) {
> if (tp->t_state & TS_ASLEEP) {
> tp->t_state &= ~TS_ASLEEP;
> wakeup(&tp->t_outq);
> }
> selwakeup(&tp->t_wsel);
> }
> }
>
> /*