Commit ff4cf05b by Benjamin Kosnik Committed by Benjamin Kosnik

globals_io.cc: Change to __gnu_internal namespace.


2004-01-28  Benjamin Kosnik  <bkoz@redhat.com>

	* src/globals_io.cc: Change to __gnu_internal namespace.
	* src/globals_locale.cc: Same.
	* src/locale_init.cc: Same.
	* src/ios_init.cc: Same.

From-SVN: r76810
parent a54ca8cf
2004-01-28 Benjamin Kosnik <bkoz@redhat.com>
* src/globals_io.cc: Change to __gnu_internal namespace.
* src/globals_locale.cc: Same.
* src/locale_init.cc: Same.
* src/ios_init.cc: Same.
2004-01-28 Stefan Olsson <stefan@snon.net> 2004-01-28 Stefan Olsson <stefan@snon.net>
* include/ext/mt_allocator.h: Replaced all malloc() calls with * include/ext/mt_allocator.h: Replaced all malloc() calls with
......
// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -74,9 +74,10 @@ namespace std ...@@ -74,9 +74,10 @@ namespace std
#endif #endif
} // namespace std } // namespace std
namespace __gnu_cxx namespace __gnu_internal
{ {
using namespace std; using namespace std;
using namespace __gnu_cxx;
// We use different stream buffer types depending on whether // We use different stream buffer types depending on whether
// ios_base::sync_with_stdio(false) has been called. // ios_base::sync_with_stdio(false) has been called.
...@@ -125,4 +126,4 @@ namespace __gnu_cxx ...@@ -125,4 +126,4 @@ namespace __gnu_cxx
_GLIBCXX_mutex_address_init () _GLIBCXX_mutex_address_init ()
{ __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCXX_mutex_address); } { __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCXX_mutex_address); }
#endif #endif
} // namespace __gnu_cxx } // namespace __gnu_internal
// Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. // Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
// In macro form: // In macro form:
// _GLIBCXX_ASM_SYMVER(currentname, oldname, GLIBCXX_3.2) // _GLIBCXX_ASM_SYMVER(currentname, oldname, GLIBCXX_3.2)
namespace __gnu_cxx namespace __gnu_internal
{ {
using namespace std; using namespace std;
...@@ -207,4 +207,4 @@ namespace __gnu_cxx ...@@ -207,4 +207,4 @@ namespace __gnu_cxx
__attribute__ ((aligned(__alignof__(std::__timepunct_cache<wchar_t>)))); __attribute__ ((aligned(__alignof__(std::__timepunct_cache<wchar_t>))));
fake_time_cache_w timepunct_cache_w; fake_time_cache_w timepunct_cache_w;
#endif #endif
} // namespace __gnu_cxx } // namespace __gnu_internal
...@@ -40,8 +40,10 @@ ...@@ -40,8 +40,10 @@
#include <ext/stdio_filebuf.h> #include <ext/stdio_filebuf.h>
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
namespace __gnu_cxx namespace __gnu_internal
{ {
using namespace __gnu_cxx;
// Extern declarations for global objects in src/globals.cc. // Extern declarations for global objects in src/globals.cc.
extern stdio_sync_filebuf<char> buf_cout_sync; extern stdio_sync_filebuf<char> buf_cout_sync;
extern stdio_sync_filebuf<char> buf_cin_sync; extern stdio_sync_filebuf<char> buf_cin_sync;
...@@ -60,11 +62,11 @@ namespace __gnu_cxx ...@@ -60,11 +62,11 @@ namespace __gnu_cxx
extern stdio_filebuf<wchar_t> buf_wcin; extern stdio_filebuf<wchar_t> buf_wcin;
extern stdio_filebuf<wchar_t> buf_wcerr; extern stdio_filebuf<wchar_t> buf_wcerr;
#endif #endif
} // namespace __gnu_cxx } // namespace __gnu_internal
namespace std namespace std
{ {
using namespace __gnu_cxx; using namespace __gnu_internal;
extern istream cin; extern istream cin;
extern ostream cout; extern ostream cout;
......
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
// Free Software Foundation, Inc. // Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <bits/atomicity.h> #include <bits/atomicity.h>
#include <bits/concurrence.h> #include <bits/concurrence.h>
namespace __gnu_cxx namespace __gnu_internal
{ {
// Defined in globals.cc. // Defined in globals.cc.
extern std::locale c_locale; extern std::locale c_locale;
...@@ -88,11 +88,11 @@ namespace __gnu_cxx ...@@ -88,11 +88,11 @@ namespace __gnu_cxx
extern std::__moneypunct_cache<wchar_t> moneypunct_cache_wt; extern std::__moneypunct_cache<wchar_t> moneypunct_cache_wt;
extern std::__timepunct_cache<wchar_t> timepunct_cache_w; extern std::__timepunct_cache<wchar_t> timepunct_cache_w;
#endif #endif
} // namespace __gnu_cxx } // namespace __gnu_internal
namespace std namespace std
{ {
using namespace __gnu_cxx; using namespace __gnu_internal;
locale::locale() throw() locale::locale() throw()
{ {
......
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