diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 11:42:19 +0000 |
commit | 4088d01d9f037d26365d462fa243561da8cd8cb1 (patch) | |
tree | 09c49db259194ed146ef51d086e6cb142e63fb1b /cpukit/libcsupport/src/readv.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4088d01d9f037d26365d462fa243561da8cd8cb1.tar.bz2 |
Convert using "bool".
Diffstat (limited to 'cpukit/libcsupport/src/readv.c')
-rw-r--r-- | cpukit/libcsupport/src/readv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/readv.c b/cpukit/libcsupport/src/readv.c index 08f0b9c52e..7b77c11fe2 100644 --- a/cpukit/libcsupport/src/readv.c +++ b/cpukit/libcsupport/src/readv.c @@ -35,7 +35,7 @@ ssize_t readv( int v; int bytes; rtems_libio_t *iop; - boolean all_zeros; + bool all_zeros; rtems_libio_check_fd( fd ); iop = rtems_libio_iop( fd ); @@ -67,7 +67,7 @@ ssize_t readv( * that we do not do anything if there is an argument error. */ - all_zeros = TRUE; + all_zeros = true; for ( total=0, v=0 ; v < iovcnt ; v++ ) { ssize_t old; @@ -84,7 +84,7 @@ ssize_t readv( rtems_set_errno_and_return_minus_one( EINVAL ); if ( iov[v].iov_len ) - all_zeros = FALSE; + all_zeros = false; } /* @@ -92,7 +92,7 @@ ssize_t readv( * OpenGroup didn't address this case as they did with writev(), * we will handle it the same way for symmetry. */ - if ( all_zeros == TRUE ) { + if ( all_zeros == true ) { return 0; } |