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.
This commit is contained in:
Ralf Corsepius
2011-11-06 11:54:49 +00:00
parent e4c0a04bd3
commit 59ca2f8ccb
4 changed files with 13 additions and 10 deletions
+3
View File
@@ -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>
+5 -5
View File
@@ -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 */
);
+2 -2
View File
@@ -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)
{
+3 -3
View File
@@ -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;