From: Sascha Wildner Date: Mon, 1 Apr 2013 20:14:06 +0000 (+0200) Subject: kernel: Make tty_compat.c optional in 'files' instead of in the source. X-Git-Tag: v3.4.0rc~4 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/faa0cb138fb0e8e30501997bfb452917f91c2082 kernel: Make tty_compat.c optional in 'files' instead of in the source. --- diff --git a/sys/conf/files b/sys/conf/files index b75180bb0c..c66ffcd82c 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -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 diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index 4ed993d32c..fd5cbdb949 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -34,12 +34,9 @@ * $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 #include @@ -473,4 +470,3 @@ ttcompatsetlflags(struct tty *tp, struct termios *t) t->c_lflag = lflag; t->c_cflag = cflag; } -#endif /* COMPAT_43 */