From 515ecec952a48f0c2fc20427b3e7666de4e8bfbb Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 6 Nov 2011 12:36:55 +0000 Subject: =?UTF-8?q?2011-11-06=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR 1945/cpukit * umon/tfsDriver.c: Replace rtems_off64_t with off_t. --- c/src/lib/libbsp/shared/ChangeLog | 5 +++++ c/src/lib/libbsp/shared/umon/tfsDriver.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'c') diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index 480e6a446a..df815521a5 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,8 @@ +2011-11-06 Ralf Corsépius + + PR 1945/cpukit + * umon/tfsDriver.c: Replace rtems_off64_t with off_t. + 2011-10-20 Ralf Corsépius * console.c: Include for rtems_panic(). diff --git a/c/src/lib/libbsp/shared/umon/tfsDriver.c b/c/src/lib/libbsp/shared/umon/tfsDriver.c index baebd1d36e..2e1f3a461d 100644 --- a/c/src/lib/libbsp/shared/umon/tfsDriver.c +++ b/c/src/lib/libbsp/shared/umon/tfsDriver.c @@ -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; -- cgit v1.2.3