Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-07 00:05:03 +0400
committerChristopher Faylor <me@cgf.cx>2005-07-07 00:05:03 +0400
commit0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch)
treebddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/termios.cc
parentdee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff)
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r--winsup/cygwin/termios.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc
index c33054af5..6e0ab3e9f 100644
--- a/winsup/cygwin/termios.cc
+++ b/winsup/cygwin/termios.cc
@@ -179,7 +179,7 @@ tcgetattr (int fd, struct termios *in_t)
else if (!cfd->is_tty ())
set_errno (ENOTTY);
else if ((res = cfd->tcgetattr (t)) == 0)
- (void) __toapp_termios (in_t, t);
+ __toapp_termios (in_t, t);
if (res)
termios_printf ("%d = tcgetattr (%d, %p)", res, fd, in_t);
@@ -291,7 +291,7 @@ cfsetospeed (struct termios *in_tp, speed_t speed)
{
struct termios *tp = __tonew_termios (in_tp);
int res = setspeed (tp->c_ospeed, speed);
- (void) __toapp_termios (in_tp, tp);
+ __toapp_termios (in_tp, tp);
return res;
}
@@ -301,6 +301,6 @@ cfsetispeed (struct termios *in_tp, speed_t speed)
{
struct termios *tp = __tonew_termios (in_tp);
int res = setspeed (tp->c_ispeed, speed);
- (void) __toapp_termios (in_tp, tp);
+ __toapp_termios (in_tp, tp);
return res;
}