libc: make lseek64 proto be glibc compatible (loff_t -> off64_t)
Change-Id: Ib79b99be9ca8d4b1f95ceeba416b6abc04187c3c Signed-off-by: Dima Zavin <dima@android.com>
This commit is contained in:
parent
1a48b588c6
commit
63673645c4
2 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ extern int sync(void);
|
|||
|
||||
extern int close(int);
|
||||
extern off_t lseek(int, off_t, int);
|
||||
extern loff_t lseek64(int, loff_t, int);
|
||||
extern off64_t lseek64(int, off64_t, int);
|
||||
|
||||
extern ssize_t read(int, void *, size_t);
|
||||
extern ssize_t write(int, const void *, size_t);
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
extern int __llseek(int fd, unsigned long offset_hi, unsigned long offset_lo, loff_t* result, int whence);
|
||||
|
||||
loff_t lseek64(int fd, loff_t off, int whence)
|
||||
off64_t lseek64(int fd, off64_t off, int whence)
|
||||
{
|
||||
loff_t result;
|
||||
|
||||
|
|
Loading…
Reference in a new issue