]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libstdc++/45300 (in cstdio/cstdlib keyword restrict is used instead of __restrict)
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 17 Aug 2010 13:15:41 +0000 (13:15 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 17 Aug 2010 13:15:41 +0000 (13:15 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cwchar
libstdc++-v3/include/c_std/cwchar

index cb551ad2d8d827d8071e26c52130736da56e80cc..c0dd0af048511906470212b368771ba0cb87d23a 100644 (file)
@@ -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
index b16eb4685720c0787fab599e7446a228211febcc..c2bbde09c514a9059c24ad904ec45cb82afa9d8f 100644 (file)
@@ -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;
index 20c6ca3512aa409db4bfe36c144cc97108f29c75..f6676aa0402b174366bf9fae03ef7e476bac32d1 100644 (file)
@@ -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;