diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:23:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-12-08 07:23:00 +0000 |
commit | 9e5d4952d50f9112fdc5c0b2205871e365ed7f8b (patch) | |
tree | c9494dfc6d96e0b6bb4a985ecaea4688e8b31fde /cpukit/libcsupport | |
parent | 2006-12-08 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9e5d4952d50f9112fdc5c0b2205871e365ed7f8b.tar.bz2 |
Use size_t instead of uint32_t ad/write count-args.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 4 | ||||
-rw-r--r-- | cpukit/libcsupport/src/read.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index 4b5e000bea..cf0441cbac 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -67,13 +67,13 @@ typedef int (*rtems_filesystem_close_t)( typedef ssize_t (*rtems_filesystem_read_t)( rtems_libio_t *iop, void *buffer, - uint32_t count + size_t count ); typedef ssize_t (*rtems_filesystem_write_t)( rtems_libio_t *iop, const void *buffer, - uint32_t count + size_t count ); typedef int (*rtems_filesystem_ioctl_t)( 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, |