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

2012-03-13  Richard Guenther  <rguenther@suse.de>

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

From-SVN: r185321
This commit is contained in:
Richard Guenther 2012-03-13 09:39:01 +00:00 committed by Richard Biener
parent 074a385f07
commit c6d10e7c58
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

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