summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-20 18:33:04 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-20 18:33:04 +0000
commitafdb07f921dc68f88d588c14ba09dac343ebbc5c (patch)
tree213a9fc752e0b28b97aadf1bb74c71dbcf30b07a /libc/sysdeps/linux
parent4ea4dcfee2aaa0edab094f1a7c12a9bbe78b06f6 (diff)
Doh! search-n-replace bites again
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 127fd854d..9c3453e8b 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1040,20 +1040,20 @@ _syscall1(int, setfsgid, gid_t, gid);
#ifdef L__llseek
#ifdef __UCLIBC_HAVE_LFS__
extern int _llseek(int fd, __off_t offset_hi, __off_t offset_lo,
- l__off_t *result, int whence);
+ __loff_t *result, int whence);
_syscall5(int, _llseek, int, fd, __off_t, offset_hi, __off_t, offset_lo,
- l__off_t *, result, int, whence);
+ __loff_t *, result, int, whence);
-l__off_t __libc_lseek64(int fd, l__off_t offset, int whence)
+__loff_t __libc_lseek64(int fd, __loff_t offset, int whence)
{
int ret;
- l__off_t result;
+ __loff_t result;
ret = _llseek(fd, (__off_t) (offset >> 32),
(__off_t) (offset & 0xffffffff), &result, whence);
- return ret ? (l__off_t) ret : result;
+ return ret ? (__loff_t) ret : result;
}
weak_alias(__libc_lseek64, llseek);
weak_alias(__libc_lseek64, lseek64);