diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-10 09:19:10 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-10 09:19:10 +0000 |
commit | d3e64681d60b8727fc13f25607d5991a7e359837 (patch) | |
tree | ba38ab39bf9faead06889887180608022ca1f910 /sys/kern/tty_compat.c | |
parent | c02b454debff2b332ee352b77f991e5514ff288f (diff) |
Move the old BSD4.3 tty compatibility from (!BURN_BRIDGES && COMPAT_43)
to COMPAT_43TTY.
Add COMPAT_43TTY to NOTES and */conf/GENERIC
Compile tty_compat.c only under the new option.
Spit out
#warning "Old BSD tty API used, please upgrade."
if ioctl_compat.h gets #included from userland.
Notes
Notes:
svn path=/head/; revision=154170
Diffstat (limited to 'sys/kern/tty_compat.c')
-rw-r--r-- | sys/kern/tty_compat.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/tty_compat.c b/sys/kern/tty_compat.c index 0ec192679246..4e2c16fe8871 100644 --- a/sys/kern/tty_compat.c +++ b/sys/kern/tty_compat.c @@ -34,11 +34,9 @@ __FBSDID("$FreeBSD$"); #include "opt_compat.h" -#ifndef BURN_BRIDGES /* * mapping routines for old line discipline (yuck) */ -#if defined(COMPAT_43) #include <sys/param.h> #include <sys/systm.h> @@ -471,6 +469,3 @@ ttcompatsetlflags(struct tty *tp, struct termios *t) t->c_lflag = lflag; t->c_cflag = cflag; } -#endif /* COMPAT_43 */ - -#endif /* BURN_BRIDGES */ |