forked from Imagelibrary/rtems
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:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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 );
|
||||||
|
|||||||
@@ -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
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user