summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/open.c')
-rw-r--r--libc/sysdeps/linux/common/open.c2
1 files changed, 1 insertions, 1 deletions
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 <string.h>
#include <sys/param.h>
-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