summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_fcntl64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-21 00:18:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-21 00:18:02 +0000
commit358534f7db075fd8737a9e0a7f2fbe3cb9c59316 (patch)
tree881233596dda8883d6d49f68f5830763293d3f37 /libc/sysdeps/linux/common/__syscall_fcntl64.c
parent57f2c2a0ad9d9dc22d8d8c6e9c5559d1ef774c17 (diff)
Use __typeof instead of adding full prototypes
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl64.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index 34ad2d173..cadeb8470 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -12,7 +12,7 @@
#include <fcntl.h>
#if defined __UCLIBC_HAS_LFS__ && defined __NR_fcntl64
-extern int __libc_fcntl64(int fd, int cmd, ...);
+extern __typeof(fcntl64) __libc_fcntl64;
libc_hidden_proto(__libc_fcntl64)
#define __NR___syscall_fcntl64 __NR_fcntl64