diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:18:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:18:27 +0000 |
commit | 7192476f7a9640986f9338f6ece9f0eec6ee8766 (patch) | |
tree | 98117cdc74f6b143e01681147779090bb0e4cf75 /cpukit/libcsupport/src/read.c | |
parent | 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7192476f7a9640986f9338f6ece9f0eec6ee8766.tar.bz2 |
Use size_t instead of uint32_t for read/write count-args.
Diffstat (limited to 'cpukit/libcsupport/src/read.c')
-rw-r--r-- | cpukit/libcsupport/src/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/read.c b/cpukit/libcsupport/src/read.c index a57426666c..46f731e479 100644 --- a/cpukit/libcsupport/src/read.c +++ b/cpukit/libcsupport/src/read.c @@ -24,7 +24,7 @@ ssize_t read( size_t count ) { - int rc; /* XXX change to a size_t when prototype is fixed */ + ssize_t rc; rtems_libio_t *iop; rtems_libio_check_fd( fd ); @@ -59,7 +59,7 @@ ssize_t read( #include <reent.h> -_ssize_t _read_r( +ssize_t _read_r( struct _reent *ptr, int fd, void *buf, |