From 28e6bc85dea3e07de6cffd043d297b2ecd23697a Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 21 Jan 2006 00:21:15 +0000 Subject: Convert l*seek too to use __typeof --- libc/sysdeps/linux/common/llseek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/llseek.c') diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c index 4ebef54ca..33cbe46c2 100644 --- a/libc/sysdeps/linux/common/llseek.c +++ b/libc/sysdeps/linux/common/llseek.c @@ -37,7 +37,7 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence) (off_t) (offset & 0xffffffff), &result, whence) ?: result); } #else -extern __off_t __libc_lseek(int fildes, off_t offset, int whence); +extern __typeof(lseek) __libc_lseek; libc_hidden_proto(__libc_lseek) loff_t __libc_lseek64(int fd, loff_t offset, int whence) -- cgit v1.2.3