diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-11 16:54:06 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-07-11 16:54:06 +0000 |
commit | 07dfe494cdccd0c056af367a8f8289bad776f11c (patch) | |
tree | c961d5f6e74174675b0c38d03a235c1e1b55e4e4 | |
parent | 180a2beeb3a371c7a853b50dcf033c836ca3f510 (diff) | |
download | uClibc-alpine-07dfe494cdccd0c056af367a8f8289bad776f11c.tar.bz2 uClibc-alpine-07dfe494cdccd0c056af367a8f8289bad776f11c.tar.xz |
uClibc_mutex.h should not include bits/libc-lock.h. Revert libtest.c accordingly otherwise it cannot compile
-rw-r--r-- | libc/sysdeps/linux/common/bits/uClibc_mutex.h | 1 | ||||
-rw-r--r-- | test/dlopen/libtest.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/uClibc_mutex.h b/libc/sysdeps/linux/common/bits/uClibc_mutex.h index 91b9ce915..36e87ff82 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_mutex.h +++ b/libc/sysdeps/linux/common/bits/uClibc_mutex.h @@ -14,7 +14,6 @@ #include <pthread.h> #include <bits/uClibc_pthread.h> -#include <bits/libc-lock.h> #define __UCLIBC_MUTEX_TYPE pthread_mutex_t diff --git a/test/dlopen/libtest.c b/test/dlopen/libtest.c index b54864b33..a306e4bf7 100644 --- a/test/dlopen/libtest.c +++ b/test/dlopen/libtest.c @@ -2,6 +2,8 @@ #include <pthread.h> #include <stdint.h> +extern int __pthread_once(void); + void dltest(uint32_t **value1, uint32_t **value2); void dltest(uint32_t **value1, uint32_t **value2) { |