Commit 0b5ce4f1 by Petur Runolfsson Committed by Benjamin Kosnik

basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.


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.

From-SVN: r71520
parent f27fd64e
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> 2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12239 PR libstdc++/12239
......
...@@ -154,14 +154,6 @@ namespace std ...@@ -154,14 +154,6 @@ namespace std
} }
return __ret; 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>*
__basic_file<char>::open(const char* __name, ios_base::openmode __mode, __basic_file<char>::open(const char* __name, ios_base::openmode __mode,
......
...@@ -76,12 +76,6 @@ namespace std ...@@ -76,12 +76,6 @@ namespace std
__basic_file* __basic_file*
sys_open(int __fd, ios_base::openmode __mode, bool __del); sys_open(int __fd, ios_base::openmode __mode, bool __del);
int
sys_getc();
int
sys_ungetc(int);
__basic_file* __basic_file*
close(); close();
......
...@@ -82,7 +82,6 @@ namespace std ...@@ -82,7 +82,6 @@ namespace std
typedef __basic_file<char> __file_type; typedef __basic_file<char> __file_type;
typedef typename traits_type::state_type __state_type; typedef typename traits_type::state_type __state_type;
typedef codecvt<char_type, char, __state_type> __codecvt_type; typedef codecvt<char_type, char, __state_type> __codecvt_type;
typedef ctype<char_type> __ctype_type;
//@} //@}
friend class ios_base; // For sync_with_stdio. friend class ios_base; // For sync_with_stdio.
......
...@@ -140,12 +140,10 @@ namespace std ...@@ -140,12 +140,10 @@ namespace std
//@{ //@{
/** /**
* @if maint * @if maint
* These are non-standard types. * This is a non-standard type.
* @endif * @endif
*/ */
typedef ctype<char_type> __ctype_type;
typedef basic_streambuf<char_type, traits_type> __streambuf_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>; friend class basic_ios<char_type, traits_type>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment