Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/telnet Remove unneeded casts
details: https://anonhg.NetBSD.org/src/rev/28ee3eefc43b
branches: trunk
changeset: 446674:28ee3eefc43b
user: maya <maya%NetBSD.org@localhost>
date: Fri Dec 14 06:28:49 2018 +0000
description:
Remove unneeded casts
diffstat:
usr.bin/telnet/sys_bsd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 0fe411c34534 -r 28ee3eefc43b usr.bin/telnet/sys_bsd.c
--- a/usr.bin/telnet/sys_bsd.c Fri Dec 14 06:28:09 2018 +0000
+++ b/usr.bin/telnet/sys_bsd.c Fri Dec 14 06:28:49 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_bsd.c,v 1.39 2018/12/14 06:27:40 maya Exp $ */
+/* $NetBSD: sys_bsd.c,v 1.40 2018/12/14 06:28:49 maya Exp $ */
/*
* Copyright (c) 1988, 1990, 1993
@@ -34,7 +34,7 @@
#if 0
from: static char sccsid[] = "@(#)sys_bsd.c 8.4 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: sys_bsd.c,v 1.39 2018/12/14 06:27:40 maya Exp $");
+__RCSID("$NetBSD: sys_bsd.c,v 1.40 2018/12/14 06:28:49 maya Exp $");
#endif
#endif /* not lint */
@@ -416,8 +416,8 @@
if (tcsetattr(tin, TCSADRAIN, &tmp_tc) < 0)
tcsetattr(tin, TCSANOW, &tmp_tc);
- ioctl(tin, FIONBIO, (char *)&onoff);
- ioctl(tout, FIONBIO, (char *)&onoff);
+ ioctl(tin, FIONBIO, &onoff);
+ ioctl(tout, FIONBIO, &onoff);
}
Home |
Main Index |
Thread Index |
Old Index