2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>

PR1945/cpukit
	* libfs/src/defaults/default_ftruncate.c,
	libfs/src/defaults/default_lseek.c:
	Replace rtems_off64_t with off_t.
This commit is contained in:
Ralf Corsepius
2011-11-06 11:52:45 +00:00
parent b799e4ebc1
commit e4c0a04bd3
3 changed files with 6 additions and 3 deletions

View File

@@ -4,6 +4,9 @@
* libcsupport/include/rtems/libio.h: Mark rtems_off64_t as * libcsupport/include/rtems/libio.h: Mark rtems_off64_t as
deprecated. deprecated.
Replace rtems_off64_t with off_t. Replace rtems_off64_t with off_t.
* libfs/src/defaults/default_ftruncate.c,
libfs/src/defaults/default_lseek.c:
Replace rtems_off64_t with off_t.
2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>

View File

@@ -15,7 +15,7 @@
int rtems_filesystem_default_ftruncate( int rtems_filesystem_default_ftruncate(
rtems_libio_t *iop, rtems_libio_t *iop,
rtems_off64_t length off_t length
) )
{ {
rtems_set_errno_and_return_minus_one( ENOTSUP ); rtems_set_errno_and_return_minus_one( ENOTSUP );

View File

@@ -13,9 +13,9 @@
#include <rtems/libio_.h> #include <rtems/libio_.h>
#include <rtems/seterr.h> #include <rtems/seterr.h>
rtems_off64_t rtems_filesystem_default_lseek( off_t rtems_filesystem_default_lseek(
rtems_libio_t *iop, rtems_libio_t *iop,
rtems_off64_t length, off_t length,
int whence int whence
) )
{ {