aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2010-08-17 13:15:41 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2010-08-17 13:15:41 +0000
commita85615d28a72fcc16591d60d82f623feb3df7442 (patch)
treee7e51650eaea40383413885b6e15539a8641de48 /libstdc++-v3
parent2c65142a27eb0e8574767fb05addc850811ea291 (diff)
downloadgcc-a85615d28a72fcc16591d60d82f623feb3df7442.zip
gcc-a85615d28a72fcc16591d60d82f623feb3df7442.tar.gz
gcc-a85615d28a72fcc16591d60d82f623feb3df7442.tar.bz2
re PR libstdc++/45300 (in cstdio/cstdlib keyword restrict is used instead of __restrict)
2010-08-17 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/45300 * include/c_std/cwchar: Replace 'restrict' -> '__restrict'. * include/c_global/cwchar: Likewise. From-SVN: r163304
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/c_global/cwchar6
-rw-r--r--libstdc++-v3/include/c_std/cwchar6
3 files changed, 12 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index cb551ad..c0dd0af 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2010-08-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR libstdc++/45300
+ * include/c_std/cwchar: Replace 'restrict' -> '__restrict'.
+ * include/c_global/cwchar: Likewise.
+
2010-08-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45300
diff --git a/libstdc++-v3/include/c_global/cwchar b/libstdc++-v3/include/c_global/cwchar
index b16eb46..c2bbde0 100644
--- a/libstdc++-v3/include/c_global/cwchar
+++ b/libstdc++-v3/include/c_global/cwchar
@@ -242,16 +242,16 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
extern "C" long double
- (wcstold)(const wchar_t * restrict, wchar_t ** restrict) throw ();
+ (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) throw ();
#endif
#if !_GLIBCXX_USE_C99_DYNAMIC
using ::wcstold;
#endif
#if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
extern "C" long long int
- (wcstoll)(const wchar_t * restrict, wchar_t ** restrict, int) throw ();
+ (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
extern "C" unsigned long long int
- (wcstoull)(const wchar_t * restrict, wchar_t ** restrict, int) throw ();
+ (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
#endif
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
using ::wcstoll;
diff --git a/libstdc++-v3/include/c_std/cwchar b/libstdc++-v3/include/c_std/cwchar
index 20c6ca3..f6676aa 100644
--- a/libstdc++-v3/include/c_std/cwchar
+++ b/libstdc++-v3/include/c_std/cwchar
@@ -238,16 +238,16 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
#if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC
extern "C" long double
- (wcstold)(const wchar_t * restrict, wchar_t ** restrict) throw ();
+ (wcstold)(const wchar_t * __restrict, wchar_t ** __restrict) throw ();
#endif
#if !_GLIBCXX_USE_C99_DYNAMIC
using ::wcstold;
#endif
#if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
extern "C" long long int
- (wcstoll)(const wchar_t * restrict, wchar_t ** restrict, int) throw ();
+ (wcstoll)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
extern "C" unsigned long long int
- (wcstoull)(const wchar_t * restrict, wchar_t ** restrict, int) throw ();
+ (wcstoull)(const wchar_t * __restrict, wchar_t ** __restrict, int) throw ();
#endif
#if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC
using ::wcstoll;