summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_ioctl.c2
-rw-r--r--sys/compat/svr4/svr4_ttold.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/compat/svr4/svr4_ioctl.c b/sys/compat/svr4/svr4_ioctl.c
index 545d206..61f9d75 100644
--- a/sys/compat/svr4/svr4_ioctl.c
+++ b/sys/compat/svr4/svr4_ioctl.c
@@ -119,10 +119,12 @@ svr4_sys_ioctl(td, uap)
#endif
switch (cmd & 0xff00) {
+#ifndef BURN_BRIDGES
case SVR4_tIOC:
DPRINTF(("ttold\n"));
fun = svr4_ttold_ioctl;
break;
+#endif
case SVR4_TIOC:
DPRINTF(("term\n"));
diff --git a/sys/compat/svr4/svr4_ttold.c b/sys/compat/svr4/svr4_ttold.c
index 7672465..3b4b841 100644
--- a/sys/compat/svr4/svr4_ttold.c
+++ b/sys/compat/svr4/svr4_ttold.c
@@ -29,6 +29,8 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#ifndef BURN_BRIDGES
+
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
@@ -376,3 +378,5 @@ svr4_ttold_ioctl(fp, td, retval, fd, cmd, data)
return 0; /* ENOSYS really */
}
}
+
+#endif /* BURN_BRIDGES */
OpenPOWER on IntegriCloud