diff options
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_ioctl.c')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_ioctl.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys/i386/ibcs2/ibcs2_ioctl.c b/sys/i386/ibcs2/ibcs2_ioctl.c index 0275c98..17749db 100644 --- a/sys/i386/ibcs2/ibcs2_ioctl.c +++ b/sys/i386/ibcs2/ibcs2_ioctl.c @@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$"); #include <sys/file.h> #include <sys/filedesc.h> #include <sys/filio.h> -#include <sys/ioctl_compat.h> #include <sys/kbio.h> #include <sys/lock.h> #include <sys/mutex.h> @@ -56,34 +55,6 @@ static void btios2stios(struct termios *, struct ibcs2_termios *); static void stios2stio(struct ibcs2_termios *, struct ibcs2_termio *); static void stio2stios(struct ibcs2_termio *, struct ibcs2_termios *); - -#ifndef BURN_BRIDGES -int -ibcs2_gtty(struct thread *td, struct ibcs2_gtty_args *args) -{ - struct ioctl_args ioctl_arg; - - ioctl_arg.fd = args->fd; - ioctl_arg.com = TIOCGETC; - ioctl_arg.data = (caddr_t)args->buf; - - return ioctl(td, &ioctl_arg); -} - -int -ibcs2_stty(struct thread *td, struct ibcs2_stty_args *args) -{ - struct ioctl_args ioctl_arg; - - ioctl_arg.fd = args->fd; - ioctl_arg.com = TIOCSETC; - ioctl_arg.data = (caddr_t)args->buf; - - return ioctl(td, &ioctl_arg); -} -#endif /* BURN BRIDGES */ - - /* * iBCS2 ioctl calls. */ |