Subject: kern/tty_tb.c does not compile?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Christos Zoulas <christos@deshaw.com>
List: current-users
Date: 05/17/1994 09:47:55
Here's a patch:
*** tty_tb.c.dist Tue May 17 09:46:42 1994
--- tty_tb.c Fri May 13 15:54:55 1994
***************
*** 42,48 ****
--- 42,50 ----
*/
#include <sys/param.h>
#include <sys/tablet.h>
+ #include <sys/ioctl.h>
#include <sys/tty.h>
+ #include <sys/proc.h>
/*
* Tablet configuration table.
***************
*** 333,349 ****
if (tbp->tbflags&TBSTOP) {
if (tc->tbc_stop)
for (c = tc->tbc_stop; *c != '\0'; c++);
! ttyout(c, tp);
} else if (tc->tbc_start)
for (c = tc->tbc_start; *c != '\0'; c++);
! ttyout(c, tp);
if (tbp->tbflags&TBPOINT) {
if (tc->tbc_point)
for (c = tc->tbc_point; *c != '\0'; c++);
! ttyout(c, tp);
} else if (tc->tbc_run)
for (c = tc->tbc_run; *c != '\0'; c++);
! ttyout(c, tp);
ttstart(tp);
break;
}
--- 335,351 ----
if (tbp->tbflags&TBSTOP) {
if (tc->tbc_stop)
for (c = tc->tbc_stop; *c != '\0'; c++);
! ttyoutput(*c, tp);
} else if (tc->tbc_start)
for (c = tc->tbc_start; *c != '\0'; c++);
! ttyoutput(*c, tp);
if (tbp->tbflags&TBPOINT) {
if (tc->tbc_point)
for (c = tc->tbc_point; *c != '\0'; c++);
! ttyoutput(*c, tp);
} else if (tc->tbc_run)
for (c = tc->tbc_run; *c != '\0'; c++);
! ttyoutput(*c, tp);
ttstart(tp);
break;
}
------------------------------------------------------------------------------