svn commit: branches/uClibc-nptl/test/dlopen

Carmelo Amoroso carmelo73 at gmail.com
Sat Aug 16 08:27:56 UTC 2008


On 15/08/2008, kraj at uclibc.org <kraj at uclibc.org> wrote:
> Author: kraj
> Date: 2008-08-14 22:28:09 -0700 (Thu, 14 Aug 2008)
> New Revision: 23082
>
> Log:
> Use pthread_once now __pthread_once is not defined in tests.
>
>
Hi Khem,
why is it not defined ? if so, the extern declaration is not longer
required, anyway I've some concern with this change.

carmelo
> Modified:
>    branches/uClibc-nptl/test/dlopen/libtest.c
>
>
> Changeset:
> Modified: branches/uClibc-nptl/test/dlopen/libtest.c
> ===================================================================
> --- branches/uClibc-nptl/test/dlopen/libtest.c	2008-08-15 05:26:51 UTC (rev
> 23081)
> +++ branches/uClibc-nptl/test/dlopen/libtest.c	2008-08-15 05:28:09 UTC (rev
> 23082)
> @@ -7,7 +7,7 @@
>  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;
>  }
>
>
> _______________________________________________
> uClibc-cvs mailing list
> uClibc-cvs at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc-cvs
>



More information about the uClibc-cvs mailing list