summaryrefslogtreecommitdiffstats
path: root/libpthread
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:44:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-12-29 13:44:44 +0000
commit30f06faa24eb3d6da34c80f5632a7f01aee900e0 (patch)
tree7a2e68698843dd207d036afa117cd52295e6cdc4 /libpthread
parent30bd4a6cc3a093fdb32db26ee8bc30cd7ef47622 (diff)
downloaduClibc-alpine-30f06faa24eb3d6da34c80f5632a7f01aee900e0.tar.bz2
uClibc-alpine-30f06faa24eb3d6da34c80f5632a7f01aee900e0.tar.xz
- pthread_attr_{g,s}etstacksize would depend on SUSv3 legacy but are not
implemented anyway.
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/attr.c2
-rw-r--r--libpthread/linuxthreads.old/sysdeps/pthread/pthread.h2
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/pthread.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/attr.c b/libpthread/linuxthreads.old/attr.c
index a0aacf12a..5d68edc36 100644
--- a/libpthread/linuxthreads.old/attr.c
+++ b/libpthread/linuxthreads.old/attr.c
@@ -209,6 +209,7 @@ 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
@@ -229,6 +230,7 @@ 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)
{
diff --git a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
index 870e37fa5..f8ab69721 100644
--- a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
+++ b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h
@@ -252,6 +252,7 @@ extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict
__THROW;
#endif
+#if 0 /* uClibc: deprecated stuff disabled. def __UCLIBC_SUSV3_LEGACY__ */
/* Set the starting address of the stack of the thread to be created.
Depending on whether the stack grows up or down the value must either
be higher or lower than all the address in the memory block. The
@@ -263,6 +264,7 @@ extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
__attr, void **__restrict __stackaddr)
__THROW;
+#endif
#ifdef __USE_XOPEN2K
/* The following two interfaces are intended to replace the last two. They
diff --git a/libpthread/linuxthreads/sysdeps/pthread/pthread.h b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
index 0fa3be131..0b777be19 100644
--- a/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+++ b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
@@ -252,6 +252,7 @@ extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict
__THROW;
#endif
+#if 0 /* uClibc: deprecated stuff disabled. def __UCLIBC_SUSV3_LEGACY__ */
/* Set the starting address of the stack of the thread to be created.
Depending on whether the stack grows up or down the value must either
be higher or lower than all the address in the memory block. The
@@ -263,6 +264,7 @@ extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
__attr, void **__restrict __stackaddr)
__THROW;
+#endif
#ifdef __USE_XOPEN2K
/* The following two interfaces are intended to replace the last two. They