From 59ca2f8ccb11ff9bd5c3711a2576ab473074ce03 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 6 Nov 2011 11:54:49 +0000 Subject: =?UTF-8?q?2011-11-06=20=20=20=20=20=20Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR1945/cpukit * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_file.c: Replace rtems_off64_t with off_t. --- cpukit/libfs/src/dosfs/msdos.h | 10 +++++----- cpukit/libfs/src/dosfs/msdos_dir.c | 4 ++-- cpukit/libfs/src/dosfs/msdos_file.c | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'cpukit/libfs') diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h index 696dac37cf..5e24d6ad1d 100644 --- a/cpukit/libfs/src/dosfs/msdos.h +++ b/cpukit/libfs/src/dosfs/msdos.h @@ -291,9 +291,9 @@ ssize_t msdos_file_write( size_t count /* IN */ ); -rtems_off64_t msdos_file_lseek( +off_t msdos_file_lseek( rtems_libio_t *iop, /* IN */ - rtems_off64_t offset, /* IN */ + off_t offset, /* IN */ int whence /* IN */ ); @@ -305,7 +305,7 @@ int msdos_file_stat( int msdos_file_ftruncate( rtems_libio_t *iop, /* IN */ - rtems_off64_t length /* IN */ + off_t length /* IN */ ); int msdos_file_sync(rtems_libio_t *iop); @@ -342,9 +342,9 @@ ssize_t msdos_dir_read( size_t count /* IN */ ); -rtems_off64_t msdos_dir_lseek( +off_t msdos_dir_lseek( rtems_libio_t *iop, /* IN */ - rtems_off64_t offset, /* IN */ + off_t offset, /* IN */ int whence /* IN */ ); diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c index ee699aac43..916f2c8069 100644 --- a/cpukit/libfs/src/dosfs/msdos_dir.c +++ b/cpukit/libfs/src/dosfs/msdos_dir.c @@ -497,8 +497,8 @@ msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count) * RC_OK on success, or -1 if error occured (errno * set apropriately). */ -rtems_off64_t -msdos_dir_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) +off_t +msdos_dir_lseek(rtems_libio_t *iop, off_t offset, int whence) { switch (whence) { diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c index 8abe01dcdf..3e53704a47 100644 --- a/cpukit/libfs/src/dosfs/msdos_file.c +++ b/cpukit/libfs/src/dosfs/msdos_file.c @@ -222,8 +222,8 @@ msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count) * new offset on success, or -1 if error occured (errno set * appropriately). */ -rtems_off64_t -msdos_file_lseek(rtems_libio_t *iop, rtems_off64_t offset, int whence) +off_t +msdos_file_lseek(rtems_libio_t *iop, off_t offset, int whence) { int rc = RC_OK; rtems_status_code sc = RTEMS_SUCCESSFUL; @@ -301,7 +301,7 @@ msdos_file_stat( * RC_OK on success, or -1 if error occured (errno set appropriately). */ int -msdos_file_ftruncate(rtems_libio_t *iop, rtems_off64_t length) +msdos_file_ftruncate(rtems_libio_t *iop, off_t length) { int rc = RC_OK; rtems_status_code sc = RTEMS_SUCCESSFUL; -- cgit v1.2.3