From 1d110375324d4c1f915f2ad631a3834c37282558 Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 13 Mar 2012 09:39:01 +0000 Subject: 2012-03-13 Richard Guenther * 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 | 4 ++++ libgcc/gthr-single.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libgcc') diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7dd7076a34b..61b2c6766c2 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2012-03-13 Richard Guenther + + * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition. + 2012-03-13 Richard Guenther * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION 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)) -- cgit v1.2.1