diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-18 14:02:46 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-18 14:02:46 +0000 |
commit | 2d1c83c6afb16ace2edd5fc73bb14f8b0c685b48 (patch) | |
tree | f44c9ad5092a1eb074e9203ac16de544d1067f76 /libstdc++-v3 | |
parent | 80a91eaf4bda1791b51949e6610e5746c4f68118 (diff) | |
download | ppe42-gcc-2d1c83c6afb16ace2edd5fc73bb14f8b0c685b48.tar.gz ppe42-gcc-2d1c83c6afb16ace2edd5fc73bb14f8b0c685b48.zip |
2003-09-18 Petur Runolfsson <peturr02@ru.is>
* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
* config/io/basic_file_stdio.h: Same.
* include/std/std_fstream.h (__ctype_type): Delete.
* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71520 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/config/io/basic_file_stdio.cc | 8 | ||||
-rw-r--r-- | libstdc++-v3/config/io/basic_file_stdio.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_fstream.h | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/std/std_streambuf.h | 4 |
5 files changed, 8 insertions, 18 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 567a1876baa..cc31247e9dc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2003-09-18 Petur Runolfsson <peturr02@ru.is> + + * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. + * config/io/basic_file_stdio.h: Same. + * include/std/std_fstream.h (__ctype_type): Delete. + * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. + 2003-09-17 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/12239 diff --git a/libstdc++-v3/config/io/basic_file_stdio.cc b/libstdc++-v3/config/io/basic_file_stdio.cc index 5791135eb54..556bd9063fb 100644 --- a/libstdc++-v3/config/io/basic_file_stdio.cc +++ b/libstdc++-v3/config/io/basic_file_stdio.cc @@ -154,14 +154,6 @@ namespace std } return __ret; } - - int - __basic_file<char>::sys_getc() - { return getc(_M_cfile); } - - int - __basic_file<char>::sys_ungetc(int __c) - { return ungetc(__c, _M_cfile); } __basic_file<char>* __basic_file<char>::open(const char* __name, ios_base::openmode __mode, diff --git a/libstdc++-v3/config/io/basic_file_stdio.h b/libstdc++-v3/config/io/basic_file_stdio.h index 90721bb30c2..2b1a9871c32 100644 --- a/libstdc++-v3/config/io/basic_file_stdio.h +++ b/libstdc++-v3/config/io/basic_file_stdio.h @@ -76,12 +76,6 @@ namespace std __basic_file* sys_open(int __fd, ios_base::openmode __mode, bool __del); - int - sys_getc(); - - int - sys_ungetc(int); - __basic_file* close(); diff --git a/libstdc++-v3/include/std/std_fstream.h b/libstdc++-v3/include/std/std_fstream.h index 78d052ae555..406ff1e2921 100644 --- a/libstdc++-v3/include/std/std_fstream.h +++ b/libstdc++-v3/include/std/std_fstream.h @@ -82,7 +82,6 @@ namespace std typedef __basic_file<char> __file_type; typedef typename traits_type::state_type __state_type; typedef codecvt<char_type, char, __state_type> __codecvt_type; - typedef ctype<char_type> __ctype_type; //@} friend class ios_base; // For sync_with_stdio. diff --git a/libstdc++-v3/include/std/std_streambuf.h b/libstdc++-v3/include/std/std_streambuf.h index 3c144987306..dc43db0bddf 100644 --- a/libstdc++-v3/include/std/std_streambuf.h +++ b/libstdc++-v3/include/std/std_streambuf.h @@ -140,12 +140,10 @@ namespace std //@{ /** * @if maint - * These are non-standard types. + * This is a non-standard type. * @endif */ - typedef ctype<char_type> __ctype_type; typedef basic_streambuf<char_type, traits_type> __streambuf_type; - typedef typename traits_type::state_type __state_type; //@} friend class basic_ios<char_type, traits_type>; |