summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog3
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h10
-rw-r--r--cpukit/libfs/src/dosfs/msdos_dir.c4
-rw-r--r--cpukit/libfs/src/dosfs/msdos_file.c6
4 files changed, 13 insertions, 10 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index db4f4a94ca..87e946e0d1 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -7,6 +7,9 @@
* libfs/src/defaults/default_ftruncate.c,
libfs/src/defaults/default_lseek.c:
Replace rtems_off64_t with off_t.
+ * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c,
+ libfs/src/dosfs/msdos_file.c:
+ Replace rtems_off64_t with off_t.
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
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;