kernel: Make tty_compat.c optional in 'files' instead of in the source.
authorSascha Wildner <saw@online.de>
Mon, 1 Apr 2013 20:14:06 +0000 (22:14 +0200)
committerSascha Wildner <saw@online.de>
Mon, 1 Apr 2013 20:14:06 +0000 (22:14 +0200)
sys/conf/files
sys/kern/tty_compat.c

index b75180b..c66ffcd 100644 (file)
@@ -932,7 +932,7 @@ kern/sysv_msg.c             optional sysvmsg
 kern/sysv_sem.c                optional sysvsem
 kern/sysv_shm.c                optional sysvshm
 kern/tty.c             standard
-kern/tty_compat.c      standard
+kern/tty_compat.c      optional compat_43
 kern/tty_conf.c                standard
 kern/tty_cons.c                standard
 kern/tty_pty.c         optional pty
index 4ed993d..fd5cbdb 100644 (file)
  * $FreeBSD: src/sys/kern/tty_compat.c,v 1.29 1999/08/28 00:46:20 peter Exp $
  */
 
-#include "opt_compat.h"
-
 /*
  * mapping routines for old line discipline (yuck)
  */
-#if defined(COMPAT_43)
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -473,4 +470,3 @@ ttcompatsetlflags(struct tty *tp, struct termios *t)
        t->c_lflag = lflag;
        t->c_cflag = cflag;
 }
-#endif /* COMPAT_43 */