From b60c59c5ba8fc42678a15b97fd4b8647028af43b Mon Sep 17 00:00:00 2001 From: bkoz Date: Sat, 9 Jun 2001 18:53:35 +0000 Subject: [PATCH] 2001-06-09 Benjamin Kosnik * include/c_std/bits/std_cwchar.h: Remove size_t injection, include std_cstddef. * include/c_std/bits/std_ctime.h: Same. * include/c_std/bits/std_cstring.h: Same. * include/c_std/bits/std_cstdlib.h: Same. * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf. * include/c_std/bits/std_cctype.h: Remove isblank. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43097 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/include/c_std/bits/std_cstdio.h | 4 ---- libstdc++-v3/include/c_std/bits/std_cstdlib.h | 3 +-- libstdc++-v3/include/c_std/bits/std_cstring.h | 4 ++-- libstdc++-v3/include/c_std/bits/std_ctime.h | 4 ++-- libstdc++-v3/include/c_std/bits/std_cwchar.h | 3 +-- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9ebecfa..2b02908 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,12 @@ 2001-06-09 Benjamin Kosnik + * include/c_std/bits/std_cwchar.h: Remove size_t injection, + include std_cstddef. + * include/c_std/bits/std_ctime.h: Same. + * include/c_std/bits/std_cstring.h: Same. + * include/c_std/bits/std_cstdlib.h: Same. + + * include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf. * include/c_std/bits/std_cctype.h: Remove isblank. 2001-06-09 Benjamin Kosnik diff --git a/libstdc++-v3/include/c_std/bits/std_cstdio.h b/libstdc++-v3/include/c_std/bits/std_cstdio.h index 5f2ccf2..0839224 100644 --- a/libstdc++-v3/include/c_std/bits/std_cstdio.h +++ b/libstdc++-v3/include/c_std/bits/std_cstdio.h @@ -52,14 +52,12 @@ #undef fscanf #undef printf #undef scanf -#undef snprintf #undef sprintf #undef sscanf #undef vfprintf #undef vfscanf #undef vprintf #undef vscanf -#undef vsnprintf #undef vsprintf #undef vsscanf #undef fgetc @@ -104,14 +102,12 @@ namespace std using ::fscanf; using ::printf; using ::scanf; - using ::snprintf; using ::sprintf; using ::sscanf; using ::vfprintf; using ::vfscanf; using ::vprintf; using ::vscanf; - using ::vsnprintf; using ::vsprintf; using ::vsscanf; using ::fgetc; diff --git a/libstdc++-v3/include/c_std/bits/std_cstdlib.h b/libstdc++-v3/include/c_std/bits/std_cstdlib.h index f1023c2..5ab1197 100644 --- a/libstdc++-v3/include/c_std/bits/std_cstdlib.h +++ b/libstdc++-v3/include/c_std/bits/std_cstdlib.h @@ -35,6 +35,7 @@ #define _CPP_CSTDLIB 1 #include +#include #pragma GCC system_header #include_next @@ -79,8 +80,6 @@ namespace std { - using ::size_t; // cstddef - using ::div_t; using ::ldiv_t; diff --git a/libstdc++-v3/include/c_std/bits/std_cstring.h b/libstdc++-v3/include/c_std/bits/std_cstring.h index 850c4d3..5ad06ee 100644 --- a/libstdc++-v3/include/c_std/bits/std_cstring.h +++ b/libstdc++-v3/include/c_std/bits/std_cstring.h @@ -34,6 +34,8 @@ #ifndef _CPP_CSTRING #define _CPP_CSTRING 1 +#include + #pragma GCC system_header #include_next @@ -63,8 +65,6 @@ namespace std { - using ::size_t; // cstddef - using ::memcpy; using ::memmove; using ::strcpy; diff --git a/libstdc++-v3/include/c_std/bits/std_ctime.h b/libstdc++-v3/include/c_std/bits/std_ctime.h index 2fc6e42..b97c046 100644 --- a/libstdc++-v3/include/c_std/bits/std_ctime.h +++ b/libstdc++-v3/include/c_std/bits/std_ctime.h @@ -34,6 +34,8 @@ #ifndef _CPP_CTIME #define _CPP_CTIME 1 +#include + #pragma GCC system_header #include_next @@ -50,8 +52,6 @@ namespace std { - using ::size_t; // cstddef - using ::clock_t; using ::time_t; using ::tm; diff --git a/libstdc++-v3/include/c_std/bits/std_cwchar.h b/libstdc++-v3/include/c_std/bits/std_cwchar.h index 8ed0d8a..2a440aa 100644 --- a/libstdc++-v3/include/c_std/bits/std_cwchar.h +++ b/libstdc++-v3/include/c_std/bits/std_cwchar.h @@ -35,6 +35,7 @@ #define _CPP_CWCHAR 1 #include +#include #if _GLIBCPP_HAVE_WCHAR_H #pragma GCC system_header @@ -121,8 +122,6 @@ namespace std #if _GLIBCPP_USE_WCHAR_T namespace std { - using ::size_t; // cstddef - using ::wint_t; using ::btowc; -- 2.7.4