OSDN Git Service

2012-03-13 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Mar 2012 09:39:01 +0000 (09:39 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Mar 2012 09:39:01 +0000 (09:39 +0000)
* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185321 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/gthr-single.h

index 7dd7076..61b2c67 100644 (file)
@@ -1,5 +1,9 @@
 2012-03-13  Richard Guenther  <rguenther@suse.de>
 
+       * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
+
+2012-03-13  Richard Guenther  <rguenther@suse.de>
+
        * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
        and __gthread_mutex_init_function definitions.
 
index 87b7579..4e39679 100644 (file)
@@ -36,7 +36,7 @@ typedef int __gthread_recursive_mutex_t;
 
 #define __GTHREAD_ONCE_INIT 0
 #define __GTHREAD_MUTEX_INIT 0
-#define __GTHREAD_MUTEX_INIT_FUNCTION (mx)
+#define __GTHREAD_MUTEX_INIT_FUNCTION(mx)
 #define __GTHREAD_RECURSIVE_MUTEX_INIT 0
 
 #define UNUSED __attribute__((unused))