summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/cmathcalls.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-09 12:06:58 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-09 12:06:58 +0000
commit54365d35cb77a69382a8d1bbeb9d3008077e572b (patch)
treea10606d1c808eadff5627f313d62b80b44e822a6 /libc/sysdeps/linux/common/bits/cmathcalls.h
parent96c028b213f14921bad01b05c0df5fceb5e5a743 (diff)
Hush compiler for extern inline warnings by using
__extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch) Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/bits/cmathcalls.h')
-rw-r--r--libc/sysdeps/linux/common/bits/cmathcalls.h6
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;