From 7b74e24ee216ceb814968057fa16cf551b70f66c Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Tue, 9 Dec 2003 04:41:52 +0100 Subject: [PATCH] std_cctype.h, [...]: Remove trailing whitespace. * 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. From-SVN: r74457 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/c/std_cctype.h | 2 +- libstdc++-v3/include/c/std_cmath.h | 16 ++++++++-------- libstdc++-v3/include/c/std_cstdlib.h | 2 +- libstdc++-v3/include/c/std_cwchar.h | 6 +++--- libstdc++-v3/include/c/std_cwctype.h | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6ad22d73331..026eebe570c 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 c007db9a9bd..3231f481fcf 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 07d15ec9953..fcaa7594c97 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 47e972fb93b..90b2f106576 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 5b3451933e7..0d2f6be5491 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 c01073a2e0a..9302864828c 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 -- 2.30.2