diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-30 18:35:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-30 18:35:01 +0000 |
commit | b68cc333d38eef10afc0ea9b912232b7fecdf5f2 (patch) | |
tree | 8f65918c0a858d1cd57f9446b3296222ad72da22 /c | |
parent | 2001-08-30 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-b68cc333d38eef10afc0ea9b912232b7fecdf5f2.tar.bz2 |
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* libc/lseek.c: Modified to reflect 4.5 placement of libio_.h.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libc/lseek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libc/lseek.c b/c/src/lib/libc/lseek.c index af41116346..aa9eb8576b 100644 --- a/c/src/lib/libc/lseek.c +++ b/c/src/lib/libc/lseek.c @@ -17,7 +17,7 @@ #include <stdio.h> -#include <rtems/libio_.h> +#include "libio_.h" off_t lseek( int fd, @@ -37,7 +37,7 @@ off_t lseek( * Check as many errors as possible before touching iop->offset. */ - if ( !iop->handlers->lseek_h ) + if ( !iop->handlers->lseek ) set_errno_and_return_minus_one( ENOTSUP ); /* @@ -67,7 +67,7 @@ off_t lseek( * new offset. */ - status = (*iop->handlers->lseek_h)( iop, offset, whence ); + status = (*iop->handlers->lseek)( iop, offset, whence ); if ( status == (off_t) -1 ) iop->offset = old_offset; |