ditto
authorMichael Toy <toy@ucbvax.Berkeley.EDU>
Fri, 30 Jan 1981 09:04:56 +0000 (01:04 -0800)
committerMichael Toy <toy@ucbvax.Berkeley.EDU>
Fri, 30 Jan 1981 09:04:56 +0000 (01:04 -0800)
SCCS-vsn: sys/kern/tty_pty.c 4.4

usr/src/sys/kern/tty_pty.c

index 23cfc9d..af2bc02 100644 (file)
@@ -1,9 +1,13 @@
-/*     tty_pty.c       4.3     %G%     */
+/*     tty_pty.c       4.4     %G%     */
 
 /*
  * Pseudo-teletype Driver
  * (Actually two drivers, requiring two entries in 'cdevsw')
  */
 
 /*
  * Pseudo-teletype Driver
  * (Actually two drivers, requiring two entries in 'cdevsw')
  */
+#include "pty.h"
+
+#if WANTPTY > 0
+
 #include "../h/param.h"
 #include "../h/systm.h"
 #include "../h/tty.h"
 #include "../h/param.h"
 #include "../h/systm.h"
 #include "../h/tty.h"
@@ -11,9 +15,6 @@
 #include "../h/user.h"
 #include "../h/conf.h"
 #include "../h/buf.h"
 #include "../h/user.h"
 #include "../h/conf.h"
 #include "../h/buf.h"
-#include "../pty.h"
-
-#if WANTPTY > 0
 
 #define NPTY 16                 /* Number of pseudo-teletypes */
 #define BUFSIZ 100              /* Chunk size iomoved from user */
 
 #define NPTY 16                 /* Number of pseudo-teletypes */
 #define BUFSIZ 100              /* Chunk size iomoved from user */