new naming convention
[unix-history] / usr / src / sys / kern / tty_bk.c
index cd62f13..307d6cd 100644 (file)
@@ -3,24 +3,18 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)tty_bk.c    7.1 (Berkeley) %G%
+ *     @(#)tty_bk.c    7.3 (Berkeley) %G%
  */
 
 #include "bk.h"
 
 #if NBK > 0
 #include "param.h"
  */
 
 #include "bk.h"
 
 #if NBK > 0
 #include "param.h"
-#include "systm.h"
-#include "dir.h"
 #include "user.h"
 #include "ioctl.h"
 #include "tty.h"
 #include "user.h"
 #include "ioctl.h"
 #include "tty.h"
-#include "proc.h"
-#include "inode.h"
 #include "file.h"
 #include "file.h"
-#include "conf.h"
 #include "buf.h"
 #include "buf.h"
-#include "uio.h"
 
 /*
  * Line discipline for Berkeley network.
 
 /*
  * Line discipline for Berkeley network.
@@ -104,7 +98,7 @@ bkread(tp, uio)
        splx(s);
        if (tp->t_line != NETLDISC)
                return (-1);
        splx(s);
        if (tp->t_line != NETLDISC)
                return (-1);
-       error = uiomove(tp->t_bufp->b_un.b_addr, tp->t_inbuf, UIO_READ, uio);
+       error = uiomove(tp->t_bufp->b_un.b_addr, tp->t_inbuf, uio);
        tp->t_cp = (char *)tp->t_bufp->b_un.b_addr;
        tp->t_inbuf = 0;
        tp->t_rec = 0;
        tp->t_cp = (char *)tp->t_bufp->b_un.b_addr;
        tp->t_inbuf = 0;
        tp->t_rec = 0;