put redundant stuff in subroutines; add WILLRELE support
[unix-history] / usr / src / sys / kern / tty_compat.c
index 283b4d9..719b423 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)tty_compat.c        7.12 (Berkeley) %G%
+ *     @(#)tty_compat.c        7.14 (Berkeley) %G%
  */
 
 /* 
  */
 
 /* 
@@ -20,7 +20,6 @@
 #include "termios.h"
 #include "file.h"
 #include "conf.h"
 #include "termios.h"
 #include "file.h"
 #include "conf.h"
-#include "dkstat.h"
 #include "kernel.h"
 #include "syslog.h"
 
 #include "kernel.h"
 #include "syslog.h"
 
@@ -53,7 +52,9 @@ static int compatspcodes[16] = {
 /*ARGSUSED*/
 ttcompat(tp, com, data, flag)
        register struct tty *tp;
 /*ARGSUSED*/
 ttcompat(tp, com, data, flag)
        register struct tty *tp;
+       int com;
        caddr_t data;
        caddr_t data;
+       int flag;
 {
 
        switch (com) {
 {
 
        switch (com) {