From 87d99142ce4f9c7ebefe78846220b857e9220eb0 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 22 Oct 1995 18:43:26 +0000 Subject: Fixed lint from cc -Wall. Cleaned up includes. --- lib/libc/gen/termios.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/libc/gen/termios.c b/lib/libc/gen/termios.c index 3041987..3625ae0 100644 --- a/lib/libc/gen/termios.c +++ b/lib/libc/gen/termios.c @@ -36,15 +36,11 @@ static char sccsid[] = "@(#)termios.c 8.2 (Berkeley) 2/21/94"; #endif /* LIBC_SCCS and not lint */ #include +#include #include -#include #include -#define KERNEL /* XXX - FREAD and FWRITE ifdef'd KERNEL*/ -#include -#undef KERNEL #include -#include #include #include @@ -99,6 +95,7 @@ tcsetpgrp(fd, pgrp) pid_t tcgetpgrp(fd) + int fd; { int s; @@ -173,6 +170,7 @@ cfmakeraw(t) t->c_cc[VTIME] = 0; } +int tcsendbreak(fd, len) int fd, len; { @@ -188,6 +186,7 @@ tcsendbreak(fd, len) return (0); } +int tcdrain(fd) int fd; { @@ -195,6 +194,7 @@ tcdrain(fd) return (ioctl(fd, TIOCDRAIN, 0)); } +int tcflush(fd, which) int fd, which; { @@ -217,6 +217,7 @@ tcflush(fd, which) return (ioctl(fd, TIOCFLUSH, &com)); } +int tcflow(fd, action) int fd, action; { -- cgit v1.1