[brcm47xx] remove deprecated warning
[openwrt.git] / toolchain / uClibc / patches-0.9.29 / 005-fix_internal_function_definition.patch
1 --- a/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
2 +++ b/libc/sysdeps/linux/i386/bits/uClibc_arch_features.h
3 @@ -42,6 +42,8 @@
4 /* define if target supports IEEE signed zero floats */
5 #define __UCLIBC_HAVE_SIGNED_ZERO__
6
7 +#if defined _LIBC
8 #define internal_function __attribute__ ((regparm (3), stdcall))
9 +#endif
10
11 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
12 --- a/include/libc-symbols.h
13 +++ b/include/libc-symbols.h
14 @@ -22,6 +22,16 @@
15 #ifndef _LIBC_SYMBOLS_H
16 #define _LIBC_SYMBOLS_H 1
17
18 +/* This is defined for the compilation of all C library code. features.h
19 + tests this to avoid inclusion of stubs.h while compiling the library,
20 + before stubs.h has been generated. Some library code that is shared
21 + with other packages also tests this symbol to see if it is being
22 + compiled as part of the C library. We must define this before including
23 + config.h, because it makes some definitions conditional on whether libc
24 + itself is being compiled, or just some generator program. */
25 +#define _LIBC 1
26 +
27 +
28 /* This file's macros are included implicitly in the compilation of every
29 file in the C library by -imacros.
30
31 @@ -40,16 +50,6 @@
32
33 #include <bits/uClibc_arch_features.h>
34
35 -
36 -/* This is defined for the compilation of all C library code. features.h
37 - tests this to avoid inclusion of stubs.h while compiling the library,
38 - before stubs.h has been generated. Some library code that is shared
39 - with other packages also tests this symbol to see if it is being
40 - compiled as part of the C library. We must define this before including
41 - config.h, because it makes some definitions conditional on whether libc
42 - itself is being compiled, or just some generator program. */
43 -#define _LIBC 1
44 -
45 /* Enable declarations of GNU extensions, since we are compiling them. */
46 #define _GNU_SOURCE 1
47
This page took 0.04059 seconds and 5 git commands to generate.