diff options
author | phk <phk@FreeBSD.org> | 2006-01-10 09:19:10 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-01-10 09:19:10 +0000 |
commit | 57be8af6424fe98a84058dd0712eaa9b9e111185 (patch) | |
tree | ba38ab39bf9faead06889887180608022ca1f910 /sys/kern/tty_compat.c | |
parent | 102c8af8288f3384264c77b191aaff70b5806f29 (diff) | |
download | FreeBSD-src-57be8af6424fe98a84058dd0712eaa9b9e111185.zip FreeBSD-src-57be8af6424fe98a84058dd0712eaa9b9e111185.tar.gz |
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.
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 0ec1926..4e2c16f 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 */ |