summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old')
-rw-r--r--libpthread/linuxthreads.old/attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/attr.c b/libpthread/linuxthreads.old/attr.c
index 5d68edc36..159b67d4b 100644
--- a/libpthread/linuxthreads.old/attr.c
+++ b/libpthread/linuxthreads.old/attr.c
@@ -201,6 +201,7 @@ int __pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guardsize)
}
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 @@ int __pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr)
}
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 @@ int __pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
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 @@ int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize)
return 0;
}
weak_alias (__pthread_attr_setstacksize, pthread_attr_setstacksize)
-#endif
int __pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize)
{