From 90374108bb8e84f45ef3186f8d569cf1eb4e446d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 9 Jan 2002 14:13:19 +0000 Subject: Rework termios wrapping code to try and do the right thing. -Erik --- libc/termios/tcsetattr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/termios/tcsetattr.c') diff --git a/libc/termios/tcsetattr.c b/libc/termios/tcsetattr.c index 9637c0fa6..9f8c172bd 100644 --- a/libc/termios/tcsetattr.c +++ b/libc/termios/tcsetattr.c @@ -18,7 +18,6 @@ #include #include -#include #include #include @@ -47,11 +46,10 @@ /* Set the state of FD to *TERMIOS_P. */ -int -tcsetattr (fd, optional_actions, termios_p) +int tcsetattr (fd, optional_actions, termios_p) int fd; int optional_actions; - const struct termios *termios_p; + const struct libc_termios *termios_p; { struct __kernel_termios k_termios; unsigned long int cmd; -- cgit v1.2.3