From 358534f7db075fd8737a9e0a7f2fbe3cb9c59316 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 21 Jan 2006 00:18:02 +0000 Subject: Use __typeof instead of adding full prototypes --- libc/sysdeps/linux/common/__syscall_fcntl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/__syscall_fcntl.c') diff --git a/libc/sysdeps/linux/common/__syscall_fcntl.c b/libc/sysdeps/linux/common/__syscall_fcntl.c index c7a39bd51..3553db5ed 100644 --- a/libc/sysdeps/linux/common/__syscall_fcntl.c +++ b/libc/sysdeps/linux/common/__syscall_fcntl.c @@ -12,11 +12,11 @@ #include #include -extern int __libc_fcntl(int fd, int cmd, ...); +extern __typeof(fcntl) __libc_fcntl; libc_hidden_proto(__libc_fcntl) #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) #endif -- cgit v1.2.3