summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-13 09:39:01 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-13 09:39:01 +0000
commit1d110375324d4c1f915f2ad631a3834c37282558 (patch)
tree22ddf652eb75d4c4ea0cbb5285a642517d0eb84c /libgcc
parent0e6ad6995bb183352a0697ecaf0647e4199aecf0 (diff)
downloadgcc-1d110375324d4c1f915f2ad631a3834c37282558.tar.gz
2012-03-13 Richard Guenther <rguenther@suse.de>
* 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
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/gthr-single.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7dd7076a34b..61b2c6766c2 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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.
diff --git a/libgcc/gthr-single.h b/libgcc/gthr-single.h
index 87b7579e899..4e396797785 100644
--- a/libgcc/gthr-single.h
+++ b/libgcc/gthr-single.h
@@ -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))