summaryrefslogtreecommitdiff
path: root/libc/termios/tcgetattr.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-09 14:13:19 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-09 14:13:19 +0000
commit90374108bb8e84f45ef3186f8d569cf1eb4e446d (patch)
treecdb2169ecf3be304c8ad01b4da85a28dde83c513 /libc/termios/tcgetattr.c
parent1ad690545c7079115f76918f483c33c120e48204 (diff)
Rework termios wrapping code to try and do the right thing.
-Erik
Diffstat (limited to 'libc/termios/tcgetattr.c')
-rw-r--r--libc/termios/tcgetattr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/termios/tcgetattr.c b/libc/termios/tcgetattr.c
index 957b5b0c1..b8728461a 100644
--- a/libc/termios/tcgetattr.c
+++ b/libc/termios/tcgetattr.c
@@ -17,7 +17,6 @@
Boston, MA 02111-1307, USA. */
#include <string.h>
-#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
@@ -28,7 +27,7 @@
#include "kernel_termios.h"
/* Put the state of FD into *TERMIOS_P. */
-int tcgetattr ( int fd, struct termios *termios_p)
+int tcgetattr ( int fd, struct libc_termios *termios_p)
{
struct __kernel_termios k_termios;
int retval;