diff options
author | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-01-10 22:03:34 +0000 |
---|---|---|
committer | Joakim Tjernlund <joakim.tjernlund@transmode.se> | 2007-01-10 22:03:34 +0000 |
commit | d5b369d20cdf2c2843da4e6500da82c1dff9156a (patch) | |
tree | 97c7d41c90c8853b9646cf9a5a22c9373c4104e3 /libc/sysdeps/linux | |
parent | eb17276953db2398809b995cbac65df7d95877b1 (diff) |
Fix SEGV for static builds in exit() path.
Leave the now obsolete libc/misc/pthread dir in for now.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_mutex.h b/libc/sysdeps/linux/common/bits/uClibc_mutex.h index b202a6bd2..14aeb9c80 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_mutex.h +++ b/libc/sysdeps/linux/common/bits/uClibc_mutex.h @@ -36,7 +36,7 @@ struct _pthread_cleanup_buffer __infunc_pthread_cleanup_buffer; \ if (C) { \ _pthread_cleanup_push_defer(&__infunc_pthread_cleanup_buffer, \ - __uclibc_mutex_unlock, \ + (void (*) (void *))__pthread_mutex_unlock, \ &(M)); \ __pthread_mutex_lock(&(M)); \ } \ |