From c1a3171f2dae463528fda965bac53e1adb34c688 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 27 Jun 2002 23:58:38 +0000 Subject: 2002-06-27 Benjamin Kosnik * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C. * libc/include/time.h: Same. * libc/include/string.h: Same. * libc/include/stdlib.h: Same. * libc/include/signal.h: Same. * libc/include/setjmp.h: Same. * libc/include/math.h: Same. * libc/include/locale.h: Same. * libc/include/ctype.h: Same. * libc/include/machine/setjmp.h: Same. * libc/include/_ansi.h (_BEGIN_STD_C): Add. (_END_STD_C): Add. --- newlib/libc/include/math.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'newlib/libc/include/math.h') 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 #include #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 #endif -#ifdef __cplusplus -} -#endif #endif /* _MATH_H_ */ -- cgit v1.2.3