summaryrefslogtreecommitdiff
path: root/sys/compat/common/tty_43.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/common/tty_43.c')
-rw-r--r--sys/compat/common/tty_43.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/compat/common/tty_43.c b/sys/compat/common/tty_43.c
index 6da912cc228..96e32d7af2d 100644
--- a/sys/compat/common/tty_43.c
+++ b/sys/compat/common/tty_43.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: tty_43.c,v 1.2 1996/04/18 21:21:34 niklas Exp $ */
-/* $NetBSD: tty_43.c,v 1.3 1996/03/14 19:31:49 christos Exp $ */
+/* $OpenBSD: tty_43.c,v 1.3 1996/05/22 12:01:46 deraadt Exp $ */
+/* $NetBSD: tty_43.c,v 1.4 1996/05/18 22:17:49 veego Exp $ */
/*-
* Copyright (c) 1982, 1986, 1991, 1993
@@ -51,6 +51,11 @@
#include <sys/syslog.h>
#include <sys/ioctl_compat.h>
+/*
+ * XXX libcompat files should be included with config attributes
+ */
+#ifdef COMPAT_OLDTTY
+
int ttydebug = 0;
static struct speedtab compatspeeds[] = {
@@ -475,3 +480,5 @@ ttcompatsetlflags(tp, t)
t->c_lflag = lflag;
t->c_cflag = cflag;
}
+
+#endif /* COMPAT_OLDTTY */