[git commit future] linuxthreads: style update

Peter S. Mazinger ps.m at gmx.net
Tue May 3 15:29:35 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=88c8323405edad145177c7b4d96d56977cc649f0
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libpthread/linuxthreads/libc_pthread_init.c      |    3 +--
 libpthread/linuxthreads_db/td_ta_clear_event.c   |    4 +---
 libpthread/linuxthreads_db/td_ta_set_event.c     |    4 +---
 libpthread/linuxthreads_db/td_thr_clear_event.c  |    4 +---
 libpthread/linuxthreads_db/td_thr_event_enable.c |    4 +---
 libpthread/linuxthreads_db/td_thr_set_event.c    |    4 +---
 6 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/libpthread/linuxthreads/libc_pthread_init.c b/libpthread/linuxthreads/libc_pthread_init.c
index c59f40b..7b4e1cb 100644
--- a/libpthread/linuxthreads/libc_pthread_init.c
+++ b/libpthread/linuxthreads/libc_pthread_init.c
@@ -31,8 +31,7 @@ strong_alias (__libc_multiple_threads, __librt_multiple_threads)
 
 
 int *
-__libc_pthread_init (functions)
-     const struct pthread_functions *functions;
+__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_db/td_ta_clear_event.c b/libpthread/linuxthreads_db/td_ta_clear_event.c
index cbb7ddc..f94e98f 100644
--- a/libpthread/linuxthreads_db/td_ta_clear_event.c
+++ b/libpthread/linuxthreads_db/td_ta_clear_event.c
@@ -22,9 +22,7 @@
 
 
 td_err_e
-td_ta_clear_event (ta, event)
-     const td_thragent_t *ta;
-     td_thr_events_t *event;
+td_ta_clear_event(const td_thragent_t *ta, td_thr_events_t *event)
 {
   td_thr_events_t old_event;
   int i;
diff --git a/libpthread/linuxthreads_db/td_ta_set_event.c b/libpthread/linuxthreads_db/td_ta_set_event.c
index 6edb38e..5da06bb 100644
--- a/libpthread/linuxthreads_db/td_ta_set_event.c
+++ b/libpthread/linuxthreads_db/td_ta_set_event.c
@@ -22,9 +22,7 @@
 
 
 td_err_e
-td_ta_set_event (ta, event)
-     const td_thragent_t *ta;
-     td_thr_events_t *event;
+td_ta_set_event(const td_thragent_t *ta, td_thr_events_t *event)
 {
   td_thr_events_t old_event;
   int i;
diff --git a/libpthread/linuxthreads_db/td_thr_clear_event.c b/libpthread/linuxthreads_db/td_thr_clear_event.c
index 147d180..787cb9d 100644
--- a/libpthread/linuxthreads_db/td_thr_clear_event.c
+++ b/libpthread/linuxthreads_db/td_thr_clear_event.c
@@ -24,9 +24,7 @@
 
 
 td_err_e
-td_thr_clear_event (th, event)
-     const td_thrhandle_t *th;
-     td_thr_events_t *event;
+td_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *event)
 {
   td_thr_events_t old_event;
   int i;
diff --git a/libpthread/linuxthreads_db/td_thr_event_enable.c b/libpthread/linuxthreads_db/td_thr_event_enable.c
index 407f3fc..aad3de2 100644
--- a/libpthread/linuxthreads_db/td_thr_event_enable.c
+++ b/libpthread/linuxthreads_db/td_thr_event_enable.c
@@ -24,9 +24,7 @@
 
 
 td_err_e
-td_thr_event_enable (th, onoff)
-     const td_thrhandle_t *th;
-     int onoff;
+td_thr_event_enable(const td_thrhandle_t *th, int onoff)
 {
   LOG ("td_thr_event_enable");
 
diff --git a/libpthread/linuxthreads_db/td_thr_set_event.c b/libpthread/linuxthreads_db/td_thr_set_event.c
index 1e1def5..2ac8f5e 100644
--- a/libpthread/linuxthreads_db/td_thr_set_event.c
+++ b/libpthread/linuxthreads_db/td_thr_set_event.c
@@ -24,9 +24,7 @@
 
 
 td_err_e
-td_thr_set_event (th, event)
-     const td_thrhandle_t *th;
-     td_thr_events_t *event;
+td_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *event)
 {
   td_thr_events_t old_event;
   int i;
-- 
1.7.3.4



More information about the uClibc-cvs mailing list