From 63673645c4da1cf97938d5018d7d373837563174 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Fri, 6 Aug 2010 11:45:43 -0700 Subject: [PATCH] libc: make lseek64 proto be glibc compatible (loff_t -> off64_t) Change-Id: Ib79b99be9ca8d4b1f95ceeba416b6abc04187c3c Signed-off-by: Dima Zavin --- libc/include/unistd.h | 2 +- libc/unistd/lseek64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 75541980d..d90e73717 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -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); diff --git a/libc/unistd/lseek64.c b/libc/unistd/lseek64.c index 017b33185..db0c41352 100644 --- a/libc/unistd/lseek64.c +++ b/libc/unistd/lseek64.c @@ -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;