summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:47:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-20 08:47:51 +0000
commit11975abb2c891e563dbed51a52c050ea0b05b8a4 (patch)
treed99ca21591a2528ac4546b64c8f703b0fc6dac34 /libpthread
parent6a9087f96b69f1b8cea5cee76a27784d2b131cd2 (diff)
- remove old-style definitions. No object-code changes.
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/libc_pthread_init.c4
-rw-r--r--libpthread/linuxthreads.old/pthread.c4
-rw-r--r--libpthread/linuxthreads.old/specific.c2
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;