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/open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/open.c') diff --git a/libc/sysdeps/linux/common/open.c b/libc/sysdeps/linux/common/open.c index d755f36fa..0db3b007f 100644 --- a/libc/sysdeps/linux/common/open.c +++ b/libc/sysdeps/linux/common/open.c @@ -14,7 +14,7 @@ #include #include -extern int __libc_open(const char *file, int flags, ...); +extern __typeof(open) __libc_open; libc_hidden_proto(__libc_open) #define __NR___syscall_open __NR_open -- cgit v1.2.3