diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 08:39:27 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-13 08:39:27 +0000 |
commit | 0c3a70aa5385e1f2d65cea8dd0bc2b4609e3a040 (patch) | |
tree | 472dabeaad7185d437b209fcebadc0af40c55021 /libpthread/linuxthreads/attr.c | |
parent | 42c9f525369ba06742d53d7a89ad00153b317de6 (diff) |
Disable deprecated stuff in new linuxthreads
Diffstat (limited to 'libpthread/linuxthreads/attr.c')
-rw-r--r-- | libpthread/linuxthreads/attr.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/attr.c b/libpthread/linuxthreads/attr.c index a79bd78c4..e60f2ed32 100644 --- a/libpthread/linuxthreads/attr.c +++ b/libpthread/linuxthreads/attr.c @@ -163,6 +163,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; @@ -186,6 +187,7 @@ weak_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr) link_warning (pthread_attr_getstackaddr, "the use of `pthread_attr_getstackaddr' is deprecated, use `pthread_attr_getstack'") +#endif int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) @@ -213,7 +215,7 @@ int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize) return 0; } -#if PTHREAD_STACK_MIN == 16384 +#if PTHREAD_STACK_MIN == 16384 || defined __UCLIBC__ weak_alias (__pthread_attr_setstacksize, pthread_attr_setstacksize) #else versioned_symbol (libpthread, __pthread_attr_setstacksize, @@ -281,7 +283,7 @@ int __pthread_attr_setstack (pthread_attr_t *attr, void *stackaddr, return err; } -#if PTHREAD_STACK_MIN == 16384 +#if PTHREAD_STACK_MIN == 16384 || defined __UCLIBC__ weak_alias (__pthread_attr_setstack, pthread_attr_setstack) #else versioned_symbol (libpthread, __pthread_attr_setstack, pthread_attr_setstack, |