From b68cc333d38eef10afc0ea9b912232b7fecdf5f2 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 30 Aug 2001 18:35:01 +0000 Subject: [PATCH] 2001-08-30 Joel Sherrill * libc/lseek.c: Modified to reflect 4.5 placement of libio_.h. --- c/src/lib/libc/lseek.c | 6 +++--- 1 file 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 -#include +#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;