This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Rename bits/mutex.h to avoid clashing with glibc
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Cc: Matthias Klose <doko at ubuntu dot com>
- Date: Fri, 15 Jan 2016 12:37:16 +0000
- Subject: Re: [patch] Rename bits/mutex.h to avoid clashing with glibc
- Authentication-results: sourceware.org; auth=none
- References: <20160106130045 dot GA8785 at redhat dot com>
On 06/01/16 13:07 +0000, Jonathan Wakely wrote:
Matthias discovered that the new <bits/mutex.h> header I created on
trunk clashes with a libc header on GNU/Hurd, so this patch renames it
to something unique.
This fixes the doxygen comment to match the new filename.
Committed to trunk.
commit efff85ddad6d4ef307a32c2aa729a1a271c7d127
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Jan 15 12:34:42 2016 +0000
* include/bits/std_mutex.h: Fix Doxygen @file name.
diff --git a/libstdc++-v3/include/bits/std_mutex.h b/libstdc++-v3/include/bits/std_mutex.h
index 67b7825..49ef752 100644
--- a/libstdc++-v3/include/bits/std_mutex.h
+++ b/libstdc++-v3/include/bits/std_mutex.h
@@ -22,7 +22,7 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
-/** @file bits/mutex.h
+/** @file bits/std_mutex.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{mutex}
*/