added i686 support and profile for t-vision s100
[openwrt.git] / toolchain / uClibc / patches / 303-fix-broken-__libc_open-declaration.patch
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
5
6 __libc_open is a vararg function and should therefore be declared as
7 such. Fixes bug #4190.
8
9 ---
10
11 libc/sysdeps/linux/common/open64.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
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
19 @@ -26,7 +26,7 @@
20 #endif
21
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, ...);
25
26 /* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
27 a third argument is the file protection. */
28 --
29 1.2.4
30
This page took 0.047114 seconds and 5 git commands to generate.