Eliminate trivial wrappers TerminalWrite() and TerminalRead()
authorguenther <guenther@openbsd.org>
Sun, 20 Jul 2014 07:35:04 +0000 (07:35 +0000)
committerguenther <guenther@openbsd.org>
Sun, 20 Jul 2014 07:35:04 +0000 (07:35 +0000)
commit99898c775e90ebcef2ebce16fa6077ab88f42465
tree3294e0bd59067827ab0855301bc70921740444b1
parenta72d26d29cb1278f2fd5a3b1587a78ed3e88a505
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
usr.bin/telnet/commands.c
usr.bin/telnet/externs.h
usr.bin/telnet/sys_bsd.c
usr.bin/telnet/telnet_locl.h
usr.bin/telnet/terminal.c