summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-08-15 05:28:09 +0000
committerKhem Raj <kraj@mvista.com>2008-08-15 05:28:09 +0000
commitb92b4f245501b89db17355dbadbafe1b2d13528d (patch)
tree90d6c199ba1bc557d7347623a753e99a904708d2
parent128db165f221c116b907882838b42922d7a45b90 (diff)
downloaduClibc-alpine-b92b4f245501b89db17355dbadbafe1b2d13528d.tar.bz2
uClibc-alpine-b92b4f245501b89db17355dbadbafe1b2d13528d.tar.xz
Use pthread_once now __pthread_once is not defined in tests.
-rw-r--r--test/dlopen/libtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dlopen/libtest.c b/test/dlopen/libtest.c
index a306e4bf7..6d3456636 100644
--- a/test/dlopen/libtest.c
+++ b/test/dlopen/libtest.c
@@ -7,7 +7,7 @@ extern int __pthread_once(void);
void dltest(uint32_t **value1, uint32_t **value2);
void dltest(uint32_t **value1, uint32_t **value2)
{
- *value1 = (uint32_t *) __pthread_once;
+ *value1 = (uint32_t *) pthread_once;
*value2 = (uint32_t *) pthread_self;
}