diff options
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; |