From 30f06faa24eb3d6da34c80f5632a7f01aee900e0 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 29 Dec 2008 13:44:44 +0000 Subject: - pthread_attr_{g,s}etstacksize would depend on SUSv3 legacy but are not implemented anyway. --- libpthread/linuxthreads.old/attr.c | 2 ++ libpthread/linuxthreads.old/sysdeps/pthread/pthread.h | 2 ++ libpthread/linuxthreads/sysdeps/pthread/pthread.h | 2 ++ 3 files changed, 6 insertions(+) (limited to 'libpthread') 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 -- cgit v1.2.3