summaryrefslogtreecommitdiffstats
path: root/lib/libc/termios/cfmakeraw.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
committerderaadt <deraadt@openbsd.org>2003-06-11 21:03:09 +0000
commitf723aa391085d188652b94aedd37f0dd94193fba (patch)
treee126833f2d9fa0dab58a426c7c390de874c0b447 /lib/libc/termios/cfmakeraw.c
parentsupport for NAT-T (draft-ietf-ipsec-udp-encaps-06.txt); ok deraadt@ (diff)
downloadwireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.tar.xz
wireguard-openbsd-f723aa391085d188652b94aedd37f0dd94193fba.zip
ansification; checked by pval
Diffstat (limited to 'lib/libc/termios/cfmakeraw.c')
-rw-r--r--lib/libc/termios/cfmakeraw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/termios/cfmakeraw.c b/lib/libc/termios/cfmakeraw.c
index 1635860c09b..5877add33c6 100644
--- a/lib/libc/termios/cfmakeraw.c
+++ b/lib/libc/termios/cfmakeraw.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: cfmakeraw.c,v 1.4 2003/06/02 20:18:39 millert Exp $";
+static char rcsid[] = "$OpenBSD: cfmakeraw.c,v 1.5 2003/06/11 21:03:09 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <termios.h>
@@ -38,8 +38,7 @@ static char rcsid[] = "$OpenBSD: cfmakeraw.c,v 1.4 2003/06/02 20:18:39 millert E
* mode with no characters interpreted, 8-bit data path.
*/
void
-cfmakeraw(t)
- struct termios *t;
+cfmakeraw(struct termios *t)
{
t->c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
t->c_oflag &= ~OPOST;