summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-14 21:01:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-09-14 21:01:39 +0000
commitd32359a77870a330080ff22a67ab07b0aa2ff724 (patch)
treea514e916cc5a7bd251eb174d1dc76fe4b9357c46 /cpukit/libfs/src/imfs/imfs.h
parent2002-09-14 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d32359a77870a330080ff22a67ab07b0aa2ff724.tar.bz2
2002-09-14 Joel Sherrill <joel@OARcorp.com>
* src/dosfs/fat.c, src/imfs/deviceio.c, src/imfs/imfs.h, src/imfs/imfs_directory.c, src/imfs/imfs_fchmod.c, src/imfs/memfile.c: Eliminated warnings. A lot of this focus was on changing read and write entry points to return ssize_t as read(2) and write(2) now do.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs.h')
-rw-r--r--cpukit/libfs/src/imfs/imfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h
index 4113553768..83f608844e 100644
--- a/cpukit/libfs/src/imfs/imfs.h
+++ b/cpukit/libfs/src/imfs/imfs.h
@@ -395,7 +395,7 @@ int imfs_dir_close(
rtems_libio_t *iop /* IN */
);
-int imfs_dir_read(
+ssize_t imfs_dir_read(
rtems_libio_t *iop, /* IN */
void *buffer, /* IN */
unsigned32 count /* IN */
@@ -439,13 +439,13 @@ int memfile_close(
rtems_libio_t *iop /* IN */
);
-int memfile_read(
+ssize_t memfile_read(
rtems_libio_t *iop, /* IN */
void *buffer, /* IN */
unsigned32 count /* IN */
);
-int memfile_write(
+ssize_t memfile_write(
rtems_libio_t *iop, /* IN */
const void *buffer, /* IN */
unsigned32 count /* IN */
@@ -478,13 +478,13 @@ int device_close(
rtems_libio_t *iop /* IN */
);
-int device_read(
+ssize_t device_read(
rtems_libio_t *iop, /* IN */
void *buffer, /* IN */
unsigned32 count /* IN */
);
-int device_write(
+ssize_t device_write(
rtems_libio_t *iop, /* IN */
const void *buffer, /* IN */
unsigned32 count /* IN */