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/sys/ioctl.h | |
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/sys/ioctl.h')
-rw-r--r-- | sys/sys/ioctl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ioctl.h b/sys/sys/ioctl.h index fd54f6d..7abb328 100644 --- a/sys/sys/ioctl.h +++ b/sys/sys/ioctl.h @@ -75,8 +75,8 @@ struct ttysize { * Compatibility with old terminal driver * * Source level -> #define USE_OLD_TTY - * Kernel level -> options COMPAT_43 + * Kernel level -> options COMPAT_43TTY */ -#if defined(USE_OLD_TTY) || defined(COMPAT_43) +#if defined(USE_OLD_TTY) || defined(COMPAT_43TTY) #include <sys/ioctl_compat.h> #endif |