summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/telnet_locl.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-20 07:35:05 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-20 07:35:05 +0000
commit5611d5d792f8e87d9e53bcbf77927c3e325e09f6 (patch)
tree3feffa5e90b8cea9d82a7e3205ed5d4e0de2bdd2 /usr.bin/telnet/telnet_locl.h
parent98f6bf70a075aa952a2794d967a024f571c078a2 (diff)
Eliminate trivial wrappers TerminalWrite() and TerminalRead()
Replace TerminalFlushOutput() with tcflush(). Replace TerminalAutoFlush() with check of tty's NOFLSH flag as documented in the manpage. Push <netdb.h> into .c files
Diffstat (limited to 'usr.bin/telnet/telnet_locl.h')
-rw-r--r--usr.bin/telnet/telnet_locl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/telnet/telnet_locl.h b/usr.bin/telnet/telnet_locl.h
index 1522ed46cc7..a3c177f6fee 100644
--- a/usr.bin/telnet/telnet_locl.h
+++ b/usr.bin/telnet/telnet_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: telnet_locl.h,v 1.7 2014/07/20 06:39:41 guenther Exp $ */
+/* $OpenBSD: telnet_locl.h,v 1.8 2014/07/20 07:35:04 guenther Exp $ */
/* $KTH: telnet_locl.h,v 1.13 1997/11/03 21:37:55 assar Exp $ */
/*
@@ -43,8 +43,6 @@
#include <sys/socket.h>
#include <errno.h>
-#include <fcntl.h>
-#include <netdb.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>