diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2009-10-17 11:54:57 -0700 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-10-17 11:54:57 -0700 |
commit | d74a3db4bf9632a474f44cebe7457e23d45027fb (patch) | |
tree | 1f4182741bc6edbc956c5b95dfcdac11421fcde6 /test/dlopen/libtest.c | |
parent | 4596f460207d5c11a363c20745e5a7b56a0600c0 (diff) |
test/dlopen: use pthread_once directly
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'test/dlopen/libtest.c')
-rw-r--r-- | test/dlopen/libtest.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/dlopen/libtest.c b/test/dlopen/libtest.c index a306e4bf7..3fd137f06 100644 --- a/test/dlopen/libtest.c +++ b/test/dlopen/libtest.c @@ -2,12 +2,10 @@ #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) { - *value1 = (uint32_t *) __pthread_once; + *value1 = (uint32_t *) pthread_once; *value2 = (uint32_t *) pthread_self; } |