forked from Imagelibrary/rtems
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1945/cpukit * umon/tfsDriver.c: Replace rtems_off64_t with off_t.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
PR 1945/cpukit
|
||||
* umon/tfsDriver.c: Replace rtems_off64_t with off_t.
|
||||
|
||||
2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* console.c: Include <rtems/error.h> for rtems_panic().
|
||||
|
||||
@@ -614,9 +614,9 @@ static ssize_t rtems_tfs_write(
|
||||
return(ret);
|
||||
}
|
||||
|
||||
static rtems_off64_t rtems_tfs_lseek(
|
||||
static off_t rtems_tfs_lseek(
|
||||
rtems_libio_t *iop,
|
||||
rtems_off64_t offset,
|
||||
off_t offset,
|
||||
int whence
|
||||
)
|
||||
{
|
||||
@@ -643,7 +643,7 @@ static rtems_off64_t rtems_tfs_lseek(
|
||||
if (ret < 0)
|
||||
return(-1);
|
||||
|
||||
return (rtems_off64_t)ret;
|
||||
return (off_t)ret;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -651,7 +651,7 @@ static rtems_off64_t rtems_tfs_lseek(
|
||||
*/
|
||||
static int rtems_tfs_ftruncate(
|
||||
rtems_libio_t *iop,
|
||||
rtems_off64_t count
|
||||
off_t count
|
||||
)
|
||||
{
|
||||
int ret, fd;
|
||||
|
||||
Reference in New Issue
Block a user