2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2001 18:53:35 +0000 (18:53 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Jun 2001 18:53:35 +0000 (18:53 +0000)
* 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
libstdc++-v3/include/c_std/bits/std_cstdio.h
libstdc++-v3/include/c_std/bits/std_cstdlib.h
libstdc++-v3/include/c_std/bits/std_cstring.h
libstdc++-v3/include/c_std/bits/std_ctime.h
libstdc++-v3/include/c_std/bits/std_cwchar.h

index 9ebecfa..2b02908 100644 (file)
@@ -1,5 +1,12 @@
 2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
 
+       * 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  <bkoz@redhat.com>
index 5f2ccf2..0839224 100644 (file)
 #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;
index f1023c2..5ab1197 100644 (file)
@@ -35,6 +35,7 @@
 #define _CPP_CSTDLIB 1
 
 #include <bits/c++config.h>
+#include <bits/std_cstddef.h>
 
 #pragma GCC system_header
 #include_next <stdlib.h>
@@ -79,8 +80,6 @@
 
 namespace std 
 {
-  using ::size_t;      // cstddef
-
   using ::div_t;
   using ::ldiv_t;
 
index 850c4d3..5ad06ee 100644 (file)
@@ -34,6 +34,8 @@
 #ifndef _CPP_CSTRING
 #define _CPP_CSTRING 1
 
+#include <bits/std_cstddef.h>
+
 #pragma GCC system_header
 #include_next <string.h>
 
@@ -63,8 +65,6 @@
 
 namespace std 
 {
-  using ::size_t;      // cstddef
-
   using ::memcpy;
   using ::memmove;
   using ::strcpy;
index 2fc6e42..b97c046 100644 (file)
@@ -34,6 +34,8 @@
 #ifndef _CPP_CTIME
 #define _CPP_CTIME 1
 
+#include <bits/std_cstddef.h>
+
 #pragma GCC system_header
 #include_next <time.h>
 
@@ -50,8 +52,6 @@
 
 namespace std
 {
-  using ::size_t;      // cstddef
-
   using ::clock_t;
   using ::time_t;
   using ::tm;
index 8ed0d8a..2a440aa 100644 (file)
@@ -35,6 +35,7 @@
 #define _CPP_CWCHAR 1
 
 #include <bits/c++config.h>
+#include <bits/std_cstddef.h>
 
 #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;