diff options
Diffstat (limited to 'libstdc++-v3/include/c_global')
-rw-r--r-- | libstdc++-v3/include/c_global/cstddef | 12 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cstdio | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cstdlib | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cstring | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/ctime | 2 | ||||
-rw-r--r-- | libstdc++-v3/include/c_global/cwchar | 1 |
6 files changed, 4 insertions, 20 deletions
diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef index ce2d310244c..d9a7383e68d 100644 --- a/libstdc++-v3/include/c_global/cstddef +++ b/libstdc++-v3/include/c_global/cstddef @@ -42,15 +42,3 @@ #include <bits/c++config.h> #include <stddef.h> - -#ifndef _GLIBCXX_CSTDDEF -#define _GLIBCXX_CSTDDEF 1 - -_GLIBCXX_BEGIN_NAMESPACE(std) - - using ::ptrdiff_t; - using ::size_t; - -_GLIBCXX_END_NAMESPACE - -#endif diff --git a/libstdc++-v3/include/c_global/cstdio b/libstdc++-v3/include/c_global/cstdio index f87af196936..b547fbe40b8 100644 --- a/libstdc++-v3/include/c_global/cstdio +++ b/libstdc++-v3/include/c_global/cstdio @@ -41,7 +41,6 @@ #pragma GCC system_header #include <bits/c++config.h> -#include <cstddef> #include <stdio.h> #ifndef _GLIBCXX_CSTDIO @@ -151,13 +150,13 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) #if _GLIBCXX_USE_C99_CHECK || _GLIBCXX_USE_C99_DYNAMIC extern "C" int - (snprintf)(char * restrict, 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); extern "C" int - (vsnprintf)(char * restrict, size_t, const char * restrict, __gnuc_va_list) - throw (); + (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) throw (); diff --git a/libstdc++-v3/include/c_global/cstdlib b/libstdc++-v3/include/c_global/cstdlib index f4ff810cf71..da95c0fe56c 100644 --- a/libstdc++-v3/include/c_global/cstdlib +++ b/libstdc++-v3/include/c_global/cstdlib @@ -41,7 +41,6 @@ #pragma GCC system_header #include <bits/c++config.h> -#include <cstddef> #ifndef _GLIBCXX_CSTDLIB #define _GLIBCXX_CSTDLIB 1 diff --git a/libstdc++-v3/include/c_global/cstring b/libstdc++-v3/include/c_global/cstring index 445202035d5..21721be67ed 100644 --- a/libstdc++-v3/include/c_global/cstring +++ b/libstdc++-v3/include/c_global/cstring @@ -41,7 +41,6 @@ #pragma GCC system_header #include <bits/c++config.h> -#include <cstddef> #include <string.h> #ifndef _GLIBCXX_CSTRING diff --git a/libstdc++-v3/include/c_global/ctime b/libstdc++-v3/include/c_global/ctime index 55f1f069766..f5bb49ccbc9 100644 --- a/libstdc++-v3/include/c_global/ctime +++ b/libstdc++-v3/include/c_global/ctime @@ -40,7 +40,7 @@ #pragma GCC system_header -#include <cstddef> +#include <bits/c++config.h> #include <time.h> #ifndef _GLIBCXX_CTIME diff --git a/libstdc++-v3/include/c_global/cwchar b/libstdc++-v3/include/c_global/cwchar index 537f39a023b..b16eb468572 100644 --- a/libstdc++-v3/include/c_global/cwchar +++ b/libstdc++-v3/include/c_global/cwchar @@ -41,7 +41,6 @@ #pragma GCC system_header #include <bits/c++config.h> -#include <cstddef> #if _GLIBCXX_HAVE_WCHAR_H #include <wchar.h> |