diff options
author | Christopher Faylor <me@cgf.cx> | 2005-07-06 20:05:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-07-06 20:05:03 +0000 |
commit | 0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch) | |
tree | bddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/termios.cc | |
parent | dee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff) | |
download | cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2 cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip |
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r-- | winsup/cygwin/termios.cc | 6 |
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; } |