diff options
author | phk <phk@FreeBSD.org> | 2004-06-21 22:57:16 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-21 22:57:16 +0000 |
commit | 0033eabc1bfccaa5b6791400e4ba6ff9c191c034 (patch) | |
tree | f2e674a8767cfdecab4ee0f2ac7afc0fb32c978f /sys/i386/ibcs2 | |
parent | a5b5031c524a9ecf5ee118337e7392768ee986c3 (diff) | |
download | FreeBSD-src-0033eabc1bfccaa5b6791400e4ba6ff9c191c034.zip FreeBSD-src-0033eabc1bfccaa5b6791400e4ba6ff9c191c034.tar.gz |
Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES.
Diffstat (limited to 'sys/i386/ibcs2')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_ioctl.c | 2 | ||||
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysent.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_ioctl.c b/sys/i386/ibcs2/ibcs2_ioctl.c index 0f80f6f..434da50 100644 --- a/sys/i386/ibcs2/ibcs2_ioctl.c +++ b/sys/i386/ibcs2/ibcs2_ioctl.c @@ -57,6 +57,7 @@ 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) { @@ -80,6 +81,7 @@ ibcs2_stty(struct thread *td, struct ibcs2_stty_args *args) return ioctl(td, &ioctl_arg); } +#endif /* BURN BRIDGES */ /* diff --git a/sys/i386/ibcs2/ibcs2_sysent.c b/sys/i386/ibcs2/ibcs2_sysent.c index 7940d3c..4d46451 100644 --- a/sys/i386/ibcs2/ibcs2_sysent.c +++ b/sys/i386/ibcs2/ibcs2_sysent.c @@ -48,8 +48,13 @@ struct sysent ibcs2_sysent[] = { { AS(ibcs2_fstat_args), (sy_call_t *)ibcs2_fstat }, /* 28 = ibcs2_fstat */ { SYF_MPSAFE | 0, (sy_call_t *)ibcs2_pause }, /* 29 = ibcs2_pause */ { AS(ibcs2_utime_args), (sy_call_t *)ibcs2_utime }, /* 30 = ibcs2_utime */ +#ifndef BURN_BRIDGES { AS(ibcs2_stty_args), (sy_call_t *)ibcs2_stty }, /* 31 = ibcs2_stty */ { AS(ibcs2_gtty_args), (sy_call_t *)ibcs2_gtty }, /* 32 = ibcs2_gtty */ +#else + { AS(ibcs2_stty_args), (sy_call_t *)nosys }, /* 31 = ibcs2_stty */ + { AS(ibcs2_gtty_args), (sy_call_t *)nosys }, /* 32 = ibcs2_gtty */ +#endif { AS(ibcs2_access_args), (sy_call_t *)ibcs2_access }, /* 33 = ibcs2_access */ { SYF_MPSAFE | AS(ibcs2_nice_args), (sy_call_t *)ibcs2_nice }, /* 34 = ibcs2_nice */ { AS(ibcs2_statfs_args), (sy_call_t *)ibcs2_statfs }, /* 35 = ibcs2_statfs */ |