[git commit ldso-future] llseek.c: use off64_t instead of loff_t as in header
Peter S. Mazinger
ps.m at gmx.net
Wed Apr 20 10:50:38 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=05f1cefa06b6c336e93b6985cdda5c1f4af82122
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/sysdeps/linux/common/llseek.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 2181464..d04a5ec 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -12,16 +12,16 @@
#include <sys/syscall.h>
#ifdef __NR__llseek
-loff_t lseek64(int fd, loff_t offset, int whence)
+off64_t lseek64(int fd, off64_t offset, int whence)
{
- loff_t result;
- return (loff_t)INLINE_SYSCALL(_llseek, 5, fd, (off_t) (offset >> 32),
+ off64_t result;
+ return (off64_t)INLINE_SYSCALL(_llseek, 5, fd, (off_t) (offset >> 32),
(off_t) (offset & 0xffffffff), &result, whence) ?: result;
}
#else
-loff_t lseek64(int fd, loff_t offset, int whence)
+off64_t lseek64(int fd, off64_t offset, int whence)
{
- return (loff_t)lseek(fd, (off_t) (offset), whence);
+ return (off64_t)lseek(fd, (off_t) (offset), whence);
}
#endif
#ifndef __LINUXTHREADS_OLD__
--
1.7.3.4
More information about the uClibc-cvs
mailing list