diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/pthread_cancel.c | 3 | ||||
-rw-r--r-- | nptl/pthread_cond_timedwait.c | 6 | ||||
-rw-r--r-- | nptl/pthread_cond_wait.c | 4 | ||||
-rw-r--r-- | nptl/pthread_exit.c | 3 | ||||
-rw-r--r-- | nptl/pthread_join.c | 4 | ||||
-rw-r--r-- | nptl/pthread_timedjoin.c | 6 |
6 files changed, 8 insertions, 18 deletions
diff --git a/nptl/pthread_cancel.c b/nptl/pthread_cancel.c index 0691eda706..981e4bc8f7 100644 --- a/nptl/pthread_cancel.c +++ b/nptl/pthread_cancel.c @@ -25,8 +25,7 @@ int -pthread_cancel (th) - pthread_t th; +pthread_cancel (pthread_t th) { volatile struct pthread *pd = (volatile struct pthread *) th; diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c index 7c1d35d7b6..bf80467845 100644 --- a/nptl/pthread_cond_timedwait.c +++ b/nptl/pthread_cond_timedwait.c @@ -49,10 +49,8 @@ struct _condvar_cleanup_buffer }; int -__pthread_cond_timedwait (cond, mutex, abstime) - pthread_cond_t *cond; - pthread_mutex_t *mutex; - const struct timespec *abstime; +__pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, + const struct timespec *abstime) { struct _pthread_cleanup_buffer buffer; struct _condvar_cleanup_buffer cbuffer; diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 63dcd5e7ce..0d6558b642 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -98,9 +98,7 @@ __condvar_cleanup (void *arg) int -__pthread_cond_wait (cond, mutex) - pthread_cond_t *cond; - pthread_mutex_t *mutex; +__pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex) { struct _pthread_cleanup_buffer buffer; struct _condvar_cleanup_buffer cbuffer; diff --git a/nptl/pthread_exit.c b/nptl/pthread_exit.c index 83a9ff7ab0..a60adbdd38 100644 --- a/nptl/pthread_exit.c +++ b/nptl/pthread_exit.c @@ -21,8 +21,7 @@ void -__pthread_exit (value) - void *value; +__pthread_exit (void *value) { THREAD_SETMEM (THREAD_SELF, result, value); diff --git a/nptl/pthread_join.c b/nptl/pthread_join.c index fde1862ec8..c841ff917b 100644 --- a/nptl/pthread_join.c +++ b/nptl/pthread_join.c @@ -37,9 +37,7 @@ cleanup (void *arg) int -pthread_join (threadid, thread_return) - pthread_t threadid; - void **thread_return; +pthread_join (pthread_t threadid, void **thread_return) { struct pthread *pd = (struct pthread *) threadid; diff --git a/nptl/pthread_timedjoin.c b/nptl/pthread_timedjoin.c index 5cd516bf33..10567e61ff 100644 --- a/nptl/pthread_timedjoin.c +++ b/nptl/pthread_timedjoin.c @@ -30,10 +30,8 @@ cleanup (void *arg) int -pthread_timedjoin_np (threadid, thread_return, abstime) - pthread_t threadid; - void **thread_return; - const struct timespec *abstime; +pthread_timedjoin_np (pthread_t threadid, void **thread_return, + const struct timespec *abstime) { struct pthread *self; struct pthread *pd = (struct pthread *) threadid; |