mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 20:54:18 +08:00
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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */
|
||||
);
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user