diff options
Diffstat (limited to 'newlib/libc/include/math.h')
-rw-r--r-- | newlib/libc/include/math.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/math.h b/newlib/libc/include/math.h index c0a743d0f..f1a30ad94 100644 --- a/newlib/libc/include/math.h +++ b/newlib/libc/include/math.h @@ -1,15 +1,14 @@ /* math.h -- Definitions for the math floating point package. */ #ifndef _MATH_H_ -#ifdef __cplusplus -extern "C" { -#endif #define _MATH_H_ #include <sys/reent.h> #include <machine/ieeefp.h> #include "_ansi.h" +_BEGIN_STD_C + #ifndef HUGE_VAL /* Define HUGE_VAL as infinity, unless HUGE_VAL is already defined @@ -359,11 +358,10 @@ extern __IMPORT _CONST _LIB_VERSION_TYPE _LIB_VERSION; #endif /* ! defined (__STRICT_ANSI__) */ +_END_STD_C + #ifdef __FAST_MATH__ #include <machine/fastmath.h> #endif -#ifdef __cplusplus -} -#endif #endif /* _MATH_H_ */ |