diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-16 19:01:35 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-16 19:01:35 +0000 |
commit | 001a8872e28d8d5cae8fb4a559fbe7a7d76c674d (patch) | |
tree | f0d62d2ecca177e696b750cb19d9798d1a763f2c /libstdc++-v3/include/c_global | |
parent | 58486663d61f8bfec3789069488f6b12cd838fe4 (diff) | |
download | ppe42-gcc-001a8872e28d8d5cae8fb4a559fbe7a7d76c674d.tar.gz ppe42-gcc-001a8872e28d8d5cae8fb4a559fbe7a7d76c674d.zip |
2010-08-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45300
* include/c_std/cstdlib: Replace 'restrict' -> '__restrict'.
* include/c_std/cstdio: Likewise.
* include/c_global/cstdlib: Likewise.
* include/c_global/cstdio: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163283 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cstdio | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cstdlib | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/libstdc++-v3/include/c_global/cstdio b/libstdc++-v3/include/c_global/cstdio index b547fbe40b8..9124229248b 100644 --- a/libstdc++-v3/include/c_global/cstdio +++ b/libstdc++-v3/include/c_global/cstdio @@ -150,15 +150,16 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC extern "C" int - (snprintf)(char * restrict, std::size_t, const char * restrict, ...) throw (); + (snprintf)(char * __restrict, std::size_t, const char * __restrict, ...) + throw (); extern "C" int - (vfscanf)(FILE * restrict, const char * restrict, __gnuc_va_list); - extern "C" int (vscanf)(const char * restrict, __gnuc_va_list); + (vfscanf)(FILE * __restrict, const char * __restrict, __gnuc_va_list); + extern "C" int (vscanf)(const char * __restrict, __gnuc_va_list); extern "C" int - (vsnprintf)(char * restrict, std::size_t, const char * restrict, + (vsnprintf)(char * __restrict, std::size_t, const char * __restrict, __gnuc_va_list) throw (); extern "C" int - (vsscanf)(const char * restrict, const char * restrict, __gnuc_va_list) + (vsscanf)(const char * __restrict, const char * __restrict, __gnuc_va_list) throw (); #endif diff --git a/libstdc++-v3/include/c_global/cstdlib b/libstdc++-v3/include/c_global/cstdlib index da95c0fe56c..943f26328f0 100644 --- a/libstdc++-v3/include/c_global/cstdlib +++ b/libstdc++-v3/include/c_global/cstdlib @@ -181,9 +181,9 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) #if _GLIBCXX_USE_C99_LONG_LONG_CHECK || _GLIBCXX_USE_C99_LONG_LONG_DYNAMIC extern "C" long long int (atoll)(const char *) throw (); extern "C" long long int - (strtoll)(const char * restrict, char ** restrict, int) throw (); + (strtoll)(const char * __restrict, char ** __restrict, int) throw (); extern "C" unsigned long long int - (strtoull)(const char * restrict, char ** restrict, int) throw (); + (strtoull)(const char * __restrict, char ** __restrict, int) throw (); #endif #if !_GLIBCXX_USE_C99_LONG_LONG_DYNAMIC using ::atoll; |