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:
Ralf Corsepius
2011-11-06 12:36:55 +00:00
parent 984c4c492f
commit 515ecec952
2 changed files with 9 additions and 4 deletions

View File

@@ -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().

View File

@@ -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;