svn commit: branches/uClibc-nptl/libpthread/linuxthreads.old

aldot at uclibc.org aldot at uclibc.org
Mon Jan 12 08:33:11 UTC 2009


Author: aldot
Date: 2009-01-12 08:33:11 +0000 (Mon, 12 Jan 2009)
New Revision: 24787

Log:
- pull r24786 from trunk


Modified:
   branches/uClibc-nptl/libpthread/linuxthreads.old/attr.c


Changeset:
Modified: branches/uClibc-nptl/libpthread/linuxthreads.old/attr.c
===================================================================
--- branches/uClibc-nptl/libpthread/linuxthreads.old/attr.c	2009-01-12 08:32:46 UTC (rev 24786)
+++ branches/uClibc-nptl/libpthread/linuxthreads.old/attr.c	2009-01-12 08:33:11 UTC (rev 24787)
@@ -201,6 +201,7 @@
 }
 weak_alias (__pthread_attr_getguardsize, pthread_attr_getguardsize)
 
+#if 0 /* uClibc: deprecated stuff disabled */
 int __pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr)
 {
   attr->__stackaddr = stackaddr;
@@ -209,7 +210,6 @@
 }
 weak_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr)
 
-#if 0 /* uClibc: deprecated stuff disabled */
 int __pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
 {
   /* XXX This function has a stupid definition.  The standard specifies
@@ -219,6 +219,7 @@
   return 0;
 }
 weak_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr)
+#endif
 
 int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize)
 {
@@ -230,7 +231,6 @@
   return 0;
 }
 weak_alias (__pthread_attr_setstacksize, pthread_attr_setstacksize)
-#endif
 
 int __pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize)
 {



More information about the uClibc-cvs mailing list