diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-06 11:54:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-06 11:54:49 +0000 |
commit | 59ca2f8ccb11ff9bd5c3711a2576ab473074ce03 (patch) | |
tree | 68b93feb67ac543c19d6a02de0e64267ec0bab34 /cpukit/libfs | |
parent | 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-59ca2f8ccb11ff9bd5c3711a2576ab473074ce03.tar.bz2 |
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
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.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos.h | 10 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_dir.c | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_file.c | 6 |
3 files changed, 10 insertions, 10 deletions
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; |