diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 06:17:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 06:17:03 -0500 |
commit | 290e19f8147d9b3c0166d3520e718ae5603e4cef (patch) | |
tree | 3c77d58f8cd8115b861809560e644699341c14ee /libpthread/linuxthreads.old/internals.h | |
parent | 266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff) |
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was
used in the code base, and for uClibc, not consistently. Much of
the code used plain "const" which meant "__const" was useless.
Really, the point of this is to stay in sync with what glibc did.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/linuxthreads.old/internals.h')
-rw-r--r-- | libpthread/linuxthreads.old/internals.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/internals.h b/libpthread/linuxthreads.old/internals.h index 98f1a0352..ea274d824 100644 --- a/libpthread/linuxthreads.old/internals.h +++ b/libpthread/linuxthreads.old/internals.h @@ -473,15 +473,15 @@ extern void __pthread_exit (void *retval) extern int __pthread_attr_setguardsize(pthread_attr_t *__attr, size_t __guardsize) attribute_hidden; -extern int __pthread_attr_getguardsize(__const pthread_attr_t *__attr, +extern int __pthread_attr_getguardsize(const pthread_attr_t *__attr, size_t *__guardsize) attribute_hidden; extern int __pthread_attr_setstackaddr(pthread_attr_t *__attr, void *__stackaddr) attribute_hidden; -extern int __pthread_attr_getstackaddr(__const pthread_attr_t *__attr, +extern int __pthread_attr_getstackaddr(const pthread_attr_t *__attr, void **__stackaddr) attribute_hidden; extern int __pthread_attr_setstacksize(pthread_attr_t *__attr, size_t __stacksize) attribute_hidden; -extern int __pthread_attr_getstacksize(__const pthread_attr_t *__attr, +extern int __pthread_attr_getstacksize(const pthread_attr_t *__attr, size_t *__stacksize) attribute_hidden; extern int __pthread_getconcurrency(void) attribute_hidden; extern int __pthread_setconcurrency(int __level) attribute_hidden; |