gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
authorRichard Guenther <rguenther@suse.de>
Tue, 13 Mar 2012 09:39:01 +0000 (09:39 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 13 Mar 2012 09:39:01 +0000 (09:39 +0000)
2012-03-13  Richard Guenther  <rguenther@suse.de>

* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.

From-SVN: r185321

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))