diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-20 08:47:51 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-20 08:47:51 +0000 |
commit | 11975abb2c891e563dbed51a52c050ea0b05b8a4 (patch) | |
tree | d99ca21591a2528ac4546b64c8f703b0fc6dac34 /libpthread | |
parent | 6a9087f96b69f1b8cea5cee76a27784d2b131cd2 (diff) | |
download | uClibc-alpine-11975abb2c891e563dbed51a52c050ea0b05b8a4.tar.bz2 uClibc-alpine-11975abb2c891e563dbed51a52c050ea0b05b8a4.tar.xz |
- remove old-style definitions. No object-code changes.
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/libc_pthread_init.c | 4 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/pthread.c | 4 | ||||
-rw-r--r-- | libpthread/linuxthreads.old/specific.c | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/libpthread/linuxthreads.old/libc_pthread_init.c b/libpthread/linuxthreads.old/libc_pthread_init.c index 4af6967e3..09606effb 100644 --- a/libpthread/linuxthreads.old/libc_pthread_init.c +++ b/libpthread/linuxthreads.old/libc_pthread_init.c @@ -32,9 +32,7 @@ libc_hidden_proto(uselocale) int __libc_multiple_threads attribute_hidden __attribute__((nocommon)); -int * -__libc_pthread_init (functions) - const struct pthread_functions *functions; +int * __libc_pthread_init (const struct pthread_functions *functions) { #ifdef SHARED /* We copy the content of the variable pointed to by the FUNCTIONS diff --git a/libpthread/linuxthreads.old/pthread.c b/libpthread/linuxthreads.old/pthread.c index 65f63ce47..53b531465 100644 --- a/libpthread/linuxthreads.old/pthread.c +++ b/libpthread/linuxthreads.old/pthread.c @@ -685,7 +685,7 @@ libpthread_hidden_def (pthread_equal) #ifndef THREAD_SELF -pthread_descr __pthread_find_self() +pthread_descr __pthread_find_self(void) { char * sp = CURRENT_STACK_FRAME; pthread_handle h; @@ -890,7 +890,7 @@ static void pthread_handle_sigdebug(int sig attribute_unused) Notice that we can't free the stack segments, as the forked thread may hold pointers into them. */ -void __pthread_reset_main_thread() +void __pthread_reset_main_thread(void) { pthread_descr self = thread_self(); diff --git a/libpthread/linuxthreads.old/specific.c b/libpthread/linuxthreads.old/specific.c index 72409b30b..dd86148d8 100644 --- a/libpthread/linuxthreads.old/specific.c +++ b/libpthread/linuxthreads.old/specific.c @@ -134,7 +134,7 @@ void * pthread_getspecific(pthread_key_t key) /* Call the destruction routines on all keys */ -void __pthread_destroy_specifics() +void __pthread_destroy_specifics(void) { pthread_descr self = thread_self(); int i, j, round, found_nonzero; |