diff options
author | Khem Raj <kraj@mvista.com> | 2008-07-11 22:22:24 +0000 |
---|---|---|
committer | Khem Raj <kraj@mvista.com> | 2008-07-11 22:22:24 +0000 |
commit | 5edf7ecf33b3adca23761e7e3cc275d53ba38a24 (patch) | |
tree | 4b3231c6ef6cde082c16fbfcd36bc21f62f0c4be /libc/sysdeps/linux/common/bits/cmathcalls.h | |
parent | bfc3131bf3ededc24c0feafafaee75afc87ae1ae (diff) | |
download | uClibc-alpine-5edf7ecf33b3adca23761e7e3cc275d53ba38a24.tar.bz2 uClibc-alpine-5edf7ecf33b3adca23761e7e3cc275d53ba38a24.tar.xz |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy.
warning: C99 inline functions are not supported; using GNU89
warning: to disable this warning use -fgnu89-inline or the gnu
Also fix this other warning.
warning: missing braces around initializer
warning: (near initialization for '_stdio_streams[0].__lock.__
Diffstat (limited to 'libc/sysdeps/linux/common/bits/cmathcalls.h')
-rw-r--r-- | libc/sysdeps/linux/common/bits/cmathcalls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/bits/cmathcalls.h b/libc/sysdeps/linux/common/bits/cmathcalls.h index c680c6d8e..35237b35d 100644 --- a/libc/sysdeps/linux/common/bits/cmathcalls.h +++ b/libc/sysdeps/linux/common/bits/cmathcalls.h @@ -135,21 +135,21 @@ __MATHDECL (_Mdouble_,creal, (_Mdouble_complex_ __z)); #if defined __GNUC__ && !__GNUC_PREREQ (2, 97) && defined __OPTIMIZE__ /* Imaginary part of Z. */ -extern __inline _Mdouble_ +__extern_inline _Mdouble_ __MATH_PRECNAME(cimag) (_Mdouble_complex_ __z) __THROW { return __imag__ __z; } /* Real part of Z. */ -extern __inline _Mdouble_ +__extern_inline _Mdouble_ __MATH_PRECNAME(creal) (_Mdouble_complex_ __z) __THROW { return __real__ __z; } /* Complex conjugate of Z. */ -extern __inline _Mdouble_complex_ +__extern_inline _Mdouble_complex_ __MATH_PRECNAME(conj) (_Mdouble_complex_ __z) __THROW { return __extension__ ~__z; |