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
This commit is contained in:
Benjamin Kosnik 2004-01-28 21:20:42 +00:00 committed by Benjamin Kosnik
parent a54ca8cfca
commit ff4cf05b3d
5 changed files with 23 additions and 13 deletions

View File

@ -1,3 +1,10 @@
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>
* include/ext/mt_allocator.h: Replaced all malloc() calls with

View File

@ -1,4 +1,4 @@
// 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
// software; you can redistribute it and/or modify it under the
@ -74,9 +74,10 @@ namespace std
#endif
} // namespace std
namespace __gnu_cxx
namespace __gnu_internal
{
using namespace std;
using namespace __gnu_cxx;
// We use different stream buffer types depending on whether
// ios_base::sync_with_stdio(false) has been called.
@ -125,4 +126,4 @@ namespace __gnu_cxx
_GLIBCXX_mutex_address_init ()
{ __GTHREAD_MUTEX_INIT_FUNCTION (_GLIBCXX_mutex_address); }
#endif
} // namespace __gnu_cxx
} // namespace __gnu_internal

View File

@ -1,4 +1,4 @@
// 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
// software; you can redistribute it and/or modify it under the
@ -43,7 +43,7 @@
// In macro form:
// _GLIBCXX_ASM_SYMVER(currentname, oldname, GLIBCXX_3.2)
namespace __gnu_cxx
namespace __gnu_internal
{
using namespace std;
@ -207,4 +207,4 @@ namespace __gnu_cxx
__attribute__ ((aligned(__alignof__(std::__timepunct_cache<wchar_t>))));
fake_time_cache_w timepunct_cache_w;
#endif
} // namespace __gnu_cxx
} // namespace __gnu_internal

View File

@ -40,8 +40,10 @@
#include <ext/stdio_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 stdio_sync_filebuf<char> buf_cout_sync;
extern stdio_sync_filebuf<char> buf_cin_sync;
@ -60,11 +62,11 @@ namespace __gnu_cxx
extern stdio_filebuf<wchar_t> buf_wcin;
extern stdio_filebuf<wchar_t> buf_wcerr;
#endif
} // namespace __gnu_cxx
} // namespace __gnu_internal
namespace std
{
using namespace __gnu_cxx;
using namespace __gnu_internal;
extern istream cin;
extern ostream cout;

View File

@ -1,4 +1,4 @@
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@ -35,7 +35,7 @@
#include <bits/atomicity.h>
#include <bits/concurrence.h>
namespace __gnu_cxx
namespace __gnu_internal
{
// Defined in globals.cc.
extern std::locale c_locale;
@ -88,11 +88,11 @@ namespace __gnu_cxx
extern std::__moneypunct_cache<wchar_t> moneypunct_cache_wt;
extern std::__timepunct_cache<wchar_t> timepunct_cache_w;
#endif
} // namespace __gnu_cxx
} // namespace __gnu_internal
namespace std
{
using namespace __gnu_cxx;
using namespace __gnu_internal;
locale::locale() throw()
{