typo
[unix-history] / usr / src / sys / kern / tty_bk.c
index 51bc0ed..af7de8d 100644 (file)
@@ -1,19 +1,21 @@
-/*     tty_bk.c        4.7     82/10/17        */
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)tty_bk.c    7.2 (Berkeley) %G%
+ */
 
 #include "bk.h"
 
 #if NBK > 0
 
 #include "bk.h"
 
 #if NBK > 0
-#include "../h/param.h"
-#include "../h/systm.h"
-#include "../h/dir.h"
-#include "../h/user.h"
-#include "../h/tty.h"
-#include "../h/proc.h"
-#include "../h/inode.h"
-#include "../h/file.h"
-#include "../h/conf.h"
-#include "../h/buf.h"
-#include "../h/uio.h"
+#include "param.h"
+#include "dir.h"
+#include "user.h"
+#include "ioctl.h"
+#include "tty.h"
+#include "file.h"
+#include "buf.h"
 
 /*
  * Line discipline for Berkeley network.
 
 /*
  * Line discipline for Berkeley network.
@@ -43,7 +45,7 @@ bkopen(dev, tp)
        if (tp->t_line == NETLDISC)
                return (EBUSY); /* sometimes the network opens /dev/tty */
        bp = geteblk(1024);
        if (tp->t_line == NETLDISC)
                return (EBUSY); /* sometimes the network opens /dev/tty */
        bp = geteblk(1024);
-       flushtty(tp, FREAD|FWRITE);
+       ttyflush(tp, FREAD|FWRITE);
        tp->t_bufp = bp;
        tp->t_cp = (char *)bp->b_un.b_addr;
        tp->t_inbuf = 0;
        tp->t_bufp = bp;
        tp->t_cp = (char *)bp->b_un.b_addr;
        tp->t_inbuf = 0;