diff options
Diffstat (limited to 'test/dlopen/libtest.c')
-rw-r--r-- | test/dlopen/libtest.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/dlopen/libtest.c b/test/dlopen/libtest.c index cdb37403d..e37f77981 100644 --- a/test/dlopen/libtest.c +++ b/test/dlopen/libtest.c @@ -2,15 +2,11 @@ #include <pthread.h> #include <stdint.h> -extern int __pthread_return_0(void); +extern int __pthread_once(void); void dltest(uint32_t **value1, uint32_t **value2) { - *value1 = (uint32_t *) __pthread_return_0; + *value1 = (uint32_t *) __pthread_once; *value2 = (uint32_t *) pthread_self; -#if 0 - printf("dltest: __pthread_return_0=%p\n", __pthread_return_0); - printf("dltest: pthread_self=%p\n", pthread_self); -#endif } |