This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Rename bits/mutex.h to avoid clashing with glibc


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}
  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]