diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6ad22d733313..026eebe570c6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2003-12-09 Bernardo Innocenti + + * include/c/std_cctype.h, include/c/std_cmath.h, + include/c/std_cstdlib.h include/c/std_cwchar.h, + include/c/std_cwctype.h: Remove trailing whitespace. + 2003-12-09 Bernardo Innocenti * include/backward/algo.h, include/backward/algobase.h, diff --git a/libstdc++-v3/include/c/std_cctype.h b/libstdc++-v3/include/c/std_cctype.h index c007db9a9bda..3231f481fcfa 100644 --- a/libstdc++-v3/include/c/std_cctype.h +++ b/libstdc++-v3/include/c/std_cctype.h @@ -38,4 +38,4 @@ #include_next -#endif +#endif diff --git a/libstdc++-v3/include/c/std_cmath.h b/libstdc++-v3/include/c/std_cmath.h index 07d15ec99532..fcaa7594c973 100644 --- a/libstdc++-v3/include/c/std_cmath.h +++ b/libstdc++-v3/include/c/std_cmath.h @@ -33,7 +33,7 @@ #ifndef _GLIBCXX_CMATH #define _GLIBCXX_CMATH 1 - + #pragma GCC system_header #include @@ -79,7 +79,7 @@ #undef islessgreater #undef isunordered -namespace std +namespace std { inline double abs(double __x) @@ -94,10 +94,10 @@ namespace std { return __builtin_fabsl(__x); } #if _GLIBCXX_HAVE_MODFF - inline float + inline float modf(float __x, float* __iptr) { return modff(__x, __iptr); } #else - inline float + inline float modf(float __x, float* __iptr) { double __tmp; @@ -108,12 +108,12 @@ namespace std #endif #if _GLIBCXX_HAVE_MODFL - inline long double + inline long double modf(long double __x, long double* __iptr) { return modfl(__x, __iptr); } #else - inline long double - modf(long double __x, long double* __iptr) - { + inline long double + modf(long double __x, long double* __iptr) + { double __tmp; double __res = modf(static_cast(__x), &__tmp); * __iptr = static_cast(__tmp); diff --git a/libstdc++-v3/include/c/std_cstdlib.h b/libstdc++-v3/include/c/std_cstdlib.h index 47e972fb93b8..90b2f1065760 100644 --- a/libstdc++-v3/include/c/std_cstdlib.h +++ b/libstdc++-v3/include/c/std_cstdlib.h @@ -38,4 +38,4 @@ #include_next -#endif +#endif diff --git a/libstdc++-v3/include/c/std_cwchar.h b/libstdc++-v3/include/c/std_cwchar.h index 5b3451933e78..0d2f6be54916 100644 --- a/libstdc++-v3/include/c/std_cwchar.h +++ b/libstdc++-v3/include/c/std_cwchar.h @@ -49,9 +49,9 @@ #ifndef _GLIBCXX_HAVE_MBSTATE_T namespace std { - extern "C" + extern "C" { - typedef struct + typedef struct { int __fill[6]; } mbstate_t; @@ -59,4 +59,4 @@ namespace std } #endif -#endif +#endif diff --git a/libstdc++-v3/include/c/std_cwctype.h b/libstdc++-v3/include/c/std_cwctype.h index c01073a2e0ac..9302864828ce 100644 --- a/libstdc++-v3/include/c/std_cwctype.h +++ b/libstdc++-v3/include/c/std_cwctype.h @@ -42,4 +42,4 @@ #include_next #endif -#endif +#endif