diff options
author | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
commit | 86602fc06c6eef73f48ce541f6b8d2b6af993629 (patch) | |
tree | eeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/kern/tty.c | |
parent | 31644ac9d825eba99a73dc4d36f6f2c06879799d (diff) | |
download | FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.zip FreeBSD-src-86602fc06c6eef73f48ce541f6b8d2b6af993629.tar.gz |
Deorbit COMPAT_SUNOS.
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither
a sparc32 port nor a SunOS4.x compatibility desire these days.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index f81186f..aeecbb8 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -83,7 +83,7 @@ __FBSDID("$FreeBSD$"); #include <sys/mutex.h> #include <sys/namei.h> #include <sys/sx.h> -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) #include <sys/ioctl_compat.h> #endif #include <sys/proc.h> @@ -769,7 +769,7 @@ ttioctl(struct tty *tp, u_long cmd, void *data, int flag) case TIOCSTI: case TIOCSTOP: case TIOCSWINSZ: -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) case TIOCLBIC: case TIOCLBIS: case TIOCLSET: @@ -1130,7 +1130,7 @@ ttioctl(struct tty *tp, u_long cmd, void *data, int flag) *(int *)data = tp->t_timeout / hz; break; default: -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) return (ttcompat(tp, cmd, data, flag)); #else return (ENOIOCTL); |