summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:25:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:25:38 +0000
commit196d3a6b918091a4ee4457430dbb7c74785ff9e2 (patch)
tree07c603a22da9d4d5d6b101ce7b7793fd935bb8fb /sys
parentba35dd1f067e2a68ffc508c8e17cbe073c846cc5 (diff)
proto
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linux/linux_termios.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_termios.c b/sys/compat/linux/linux_termios.c
index 947616cf79e..0dad771c5d5 100644
--- a/sys/compat/linux/linux_termios.c
+++ b/sys/compat/linux/linux_termios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_termios.c,v 1.3 1996/04/18 21:21:39 niklas Exp $ */
+/* $OpenBSD: linux_termios.c,v 1.4 1996/10/16 12:25:37 deraadt Exp $ */
/* $NetBSD: linux_termios.c,v 1.3 1996/04/05 00:01:54 christos Exp $ */
/*
@@ -62,6 +62,15 @@ static int linux_spmasks[] = {
LINUX_B57600, LINUX_B115200, LINUX_B230400
};
+static void linux_termio_to_bsd_termios __P((struct linux_termio *,
+ struct termios *));
+static void bsd_termios_to_linux_termio __P((struct termios *,
+ struct linux_termio *));
+static void linux_termios_to_bsd_termios __P((struct linux_termios *,
+ struct termios *));
+static void bsd_termios_to_linux_termios __P((struct termios *,
+ struct linux_termios *));
+
/*
* Deal with termio ioctl cruft. This doesn't look very good..
* XXX too much code duplication, obviously..