debug.cc (iterator_base_mutex): Make static for internal linkage.
2005-09-09 Benjamin Kosnik <bkoz@redhat.com> Jakub Jelinek <jakub@redhat.com> * src/debug.cc (iterator_base_mutex): Make static for internal linkage. * src/locale_init.cc (locale_mutex): Same. * src/mt_allocator.cc (freelist_mutex): Same. * src/pool_allocator.cc (palloc_init_mutex): Same. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r104090
This commit is contained in:
parent
3dac16bde8
commit
35885ceb44
|
@ -1,3 +1,12 @@
|
|||
2005-09-09 Benjamin Kosnik <bkoz@redhat.com>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* src/debug.cc (iterator_base_mutex): Make static for internal
|
||||
linkage.
|
||||
* src/locale_init.cc (locale_mutex): Same.
|
||||
* src/mt_allocator.cc (freelist_mutex): Same.
|
||||
* src/pool_allocator.cc (palloc_init_mutex): Same.
|
||||
|
||||
2005-09-02 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/tr1/6_containers/unordered/hashtable/23465.cc:
|
||||
|
|
|
@ -41,7 +41,7 @@ using namespace std;
|
|||
|
||||
namespace __gnu_internal
|
||||
{
|
||||
__glibcxx_mutex_define_initialized(iterator_base_mutex);
|
||||
static __glibcxx_mutex_define_initialized(iterator_base_mutex);
|
||||
} // namespace __gnu_internal
|
||||
|
||||
namespace __gnu_debug
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
// Free Software Foundation, Inc.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
|
@ -90,7 +90,7 @@ namespace __gnu_internal
|
|||
#endif
|
||||
|
||||
// Mutex object for locale initialization.
|
||||
__glibcxx_mutex_define_initialized(locale_mutex);
|
||||
static __glibcxx_mutex_define_initialized(locale_mutex);
|
||||
} // namespace __gnu_internal
|
||||
|
||||
namespace std
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
namespace __gnu_internal
|
||||
{
|
||||
__glibcxx_mutex_define_initialized(freelist_mutex);
|
||||
static __glibcxx_mutex_define_initialized(freelist_mutex);
|
||||
|
||||
#ifdef __GTHREADS
|
||||
__gthread_key_t freelist_key;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Allocator details.
|
||||
|
||||
// Copyright (C) 2004 Free Software Foundation, Inc.
|
||||
// Copyright (C) 2004, 2005 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
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
namespace __gnu_internal
|
||||
{
|
||||
__glibcxx_mutex_define_initialized(palloc_init_mutex);
|
||||
static __glibcxx_mutex_define_initialized(palloc_init_mutex);
|
||||
}
|
||||
|
||||
namespace __gnu_cxx
|
||||
|
|
Loading…
Reference in New Issue