diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-03-16 22:34:53 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-03-16 22:34:53 +0000 |
commit | 5ecfce5c58b6ff95a5e328bc3059aa09e3efc917 (patch) | |
tree | 51cabd3b4d49860d2343349c635b083f0f44d237 | |
parent | c36fed0ca45df5d1fd313b115a666c7686258656 (diff) | |
download | gcc-5ecfce5c58b6ff95a5e328bc3059aa09e3efc917.zip gcc-5ecfce5c58b6ff95a5e328bc3059aa09e3efc917.tar.gz gcc-5ecfce5c58b6ff95a5e328bc3059aa09e3efc917.tar.bz2 |
hash_map: Use consistently the _BACKWARD_* prefix for the include guard.
2010-03-16 Paolo Carlini <paolo.carlini@oracle.com>
* include/backward/hash_map: Use consistently the _BACKWARD_*
prefix for the include guard.
* include/backward/hash_fun.h: Likewise.
* include/backward/hashtable.h: Likewise.
* include/backward/auto_ptr.h: Likewise.
* include/backward/strstream: Likewise.
* include/backward/binders.h: Likewise.
* include/backward/hash_set: Likewise.
From-SVN: r157497
-rw-r--r-- | libstdc++-v3/ChangeLog | 11 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/auto_ptr.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/binders.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/hash_fun.h | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/hash_map | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/hash_set | 7 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/hashtable.h | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/backward/strstream | 7 |
8 files changed, 36 insertions, 21 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9c37f37..c6dca8c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,16 @@ 2010-03-16 Paolo Carlini <paolo.carlini@oracle.com> + * include/backward/hash_map: Use consistently the _BACKWARD_* + prefix for the include guard. + * include/backward/hash_fun.h: Likewise. + * include/backward/hashtable.h: Likewise. + * include/backward/auto_ptr.h: Likewise. + * include/backward/strstream: Likewise. + * include/backward/binders.h: Likewise. + * include/backward/hash_set: Likewise. + +2010-03-16 Paolo Carlini <paolo.carlini@oracle.com> + * include/bits/random.h (operator==(const uniform_int_distribution<>&, const uniform_int_distribution<>&), operator==(const uniform_real_distribution<>&, const uniform_real_distribution<>&), diff --git a/libstdc++-v3/include/backward/auto_ptr.h b/libstdc++-v3/include/backward/auto_ptr.h index aa3213d..d60bad3 100644 --- a/libstdc++-v3/include/backward/auto_ptr.h +++ b/libstdc++-v3/include/backward/auto_ptr.h @@ -27,8 +27,8 @@ * You should not attempt to use it directly. */ -#ifndef _STL_AUTO_PTR_H -#define _STL_AUTO_PTR_H 1 +#ifndef _BACKWARD_AUTO_PTR_H +#define _BACKWARD_AUTO_PTR_H 1 #include <bits/c++config.h> #include <debug/debug.h> @@ -289,4 +289,4 @@ _GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_END_NAMESPACE -#endif /* _STL_AUTO_PTR_H */ +#endif /* _BACKWARD_AUTO_PTR_H */ diff --git a/libstdc++-v3/include/backward/binders.h b/libstdc++-v3/include/backward/binders.h index 5145860..a65eb8a 100644 --- a/libstdc++-v3/include/backward/binders.h +++ b/libstdc++-v3/include/backward/binders.h @@ -54,8 +54,8 @@ * You should not attempt to use it directly. */ -#ifndef _GLIBCXX_BINDERS_H -#define _GLIBCXX_BINDERS_H 1 +#ifndef _BACKWARD_BINDERS_H +#define _BACKWARD_BINDERS_H 1 _GLIBCXX_BEGIN_NAMESPACE(std) @@ -166,4 +166,4 @@ _GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_END_NAMESPACE -#endif /* _GLIBCXX_BINDERS_H */ +#endif /* _BACKWARD_BINDERS_H */ diff --git a/libstdc++-v3/include/backward/hash_fun.h b/libstdc++-v3/include/backward/hash_fun.h index 8cc7a42..b7b14a1 100644 --- a/libstdc++-v3/include/backward/hash_fun.h +++ b/libstdc++-v3/include/backward/hash_fun.h @@ -1,6 +1,7 @@ // 'struct hash' from SGI -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2009, 2010 +// 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 @@ -53,8 +54,8 @@ * containing extensions from the HP/SGI STL subset). */ -#ifndef _HASH_FUN_H -#define _HASH_FUN_H 1 +#ifndef _BACKWARD_HASH_FUN_H +#define _BACKWARD_HASH_FUN_H 1 #include <cstddef> diff --git a/libstdc++-v3/include/backward/hash_map b/libstdc++-v3/include/backward/hash_map index 469429c..813ec47 100644 --- a/libstdc++-v3/include/backward/hash_map +++ b/libstdc++-v3/include/backward/hash_map @@ -1,6 +1,7 @@ // Hashing map implementation -*- C++ -*- -// Copyright (C) 2001, 2002, 2004, 2005, 2006, 2009 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005, 2006, 2009, 2010 +// 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 @@ -53,8 +54,8 @@ * containing extensions from the HP/SGI STL subset). */ -#ifndef _HASH_MAP -#define _HASH_MAP 1 +#ifndef _BACKWARD_HASH_MAP +#define _BACKWARD_HASH_MAP 1 #include "backward_warning.h" #include <bits/c++config.h> diff --git a/libstdc++-v3/include/backward/hash_set b/libstdc++-v3/include/backward/hash_set index 32fa220..5a2ade7 100644 --- a/libstdc++-v3/include/backward/hash_set +++ b/libstdc++-v3/include/backward/hash_set @@ -1,6 +1,7 @@ // Hashing set implementation -*- C++ -*- -// Copyright (C) 2001, 2002, 2004, 2005, 2006, 2009 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005, 2006, 2009, 2010 +// 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 @@ -53,8 +54,8 @@ * containing extensions from the HP/SGI STL subset). */ -#ifndef _HASH_SET -#define _HASH_SET 1 +#ifndef _BACKWARD_HASH_SET +#define _BACKWARD_HASH_SET 1 #include "backward_warning.h" #include <bits/c++config.h> diff --git a/libstdc++-v3/include/backward/hashtable.h b/libstdc++-v3/include/backward/hashtable.h index ca04c76..55c1d99 100644 --- a/libstdc++-v3/include/backward/hashtable.h +++ b/libstdc++-v3/include/backward/hashtable.h @@ -1,6 +1,6 @@ // Hashtable implementation used by containers -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -54,8 +54,8 @@ * containing extensions from the HP/SGI STL subset). */ -#ifndef _HASHTABLE_H -#define _HASHTABLE_H 1 +#ifndef _BACKWARD_HASHTABLE_H +#define _BACKWARD_HASHTABLE_H 1 // Hashtable class, used to implement the hashed associative containers // hash_set, hash_map, hash_multiset, and hash_multimap. diff --git a/libstdc++-v3/include/backward/strstream b/libstdc++-v3/include/backward/strstream index 0ffbb81..3221ba9 100644 --- a/libstdc++-v3/include/backward/strstream +++ b/libstdc++-v3/include/backward/strstream @@ -1,6 +1,7 @@ // Backward-compat support -*- C++ -*- -// Copyright (C) 2001, 2002, 2004, 2005, 2009 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2005, 2009, 2010 +// 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 @@ -40,8 +41,8 @@ // MAY BE REMOVED in a future standard revision. One should use the // header <sstream> instead. -#ifndef _GLIBCXX_STRSTREAM -#define _GLIBCXX_STRSTREAM +#ifndef _BACKWARD_STRSTREAM +#define _BACKWARD_STRSTREAM #include "backward_warning.h" #include <iosfwd> |