1 From nobody Mon Sep 17 00:00:00 2001
2 From: HÃ¥vard Skinnemoen <hskinnemoen@atmel.com>
3 Date: Fri Apr 7 17:10:32 2006 +0200
4 Subject: [PATCH] Fix broken __libc_open declaration in open64.c
6 __libc_open is a vararg function and should therefore be declared as
11 libc/sysdeps/linux/common/open64.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
14 70f2c81903327a8a346e370830932b80045ab04e
15 diff --git a/libc/sysdeps/linux/common/open64.c b/libc/sysdeps/linux/common/open64.c
16 index 543aa13..d9a27a7 100644
17 --- a/libc/sysdeps/linux/common/open64.c
18 +++ b/libc/sysdeps/linux/common/open64.c
22 #ifdef __UCLIBC_HAS_LFS__
23 -extern int __libc_open (__const char *file, int oflag, mode_t mode);
24 +extern int __libc_open (__const char *file, int oflag, ...);
26 /* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
27 a third argument is the file protection. */