diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:37:01 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:37:01 +0200 |
commit | 50d664a757b7a5ef1fd536ec00ea552ad9290315 (patch) | |
tree | b323c66f75794b412d761060841e75cede781104 | |
parent | d1dc72d6ad0d4822fb62d635638ed79028df8bc7 (diff) |
nptl_db: Remove compiler warning due to old-style function definition
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r-- | libpthread/nptl_db/td_ta_clear_event.c | 4 | ||||
-rw-r--r-- | libpthread/nptl_db/td_ta_set_event.c | 4 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_clear_event.c | 4 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_event_enable.c | 4 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_set_event.c | 4 |
5 files changed, 5 insertions, 15 deletions
diff --git a/libpthread/nptl_db/td_ta_clear_event.c b/libpthread/nptl_db/td_ta_clear_event.c index 7a2850c4e..b20a0abbe 100644 --- a/libpthread/nptl_db/td_ta_clear_event.c +++ b/libpthread/nptl_db/td_ta_clear_event.c @@ -22,9 +22,7 @@ td_err_e -td_ta_clear_event (ta_arg, event) - const td_thragent_t *ta_arg; - td_thr_events_t *event; +td_ta_clear_event (const td_thragent_t *ta_arg, td_thr_events_t *event) { td_thragent_t *const ta = (td_thragent_t *) ta_arg; td_err_e err; diff --git a/libpthread/nptl_db/td_ta_set_event.c b/libpthread/nptl_db/td_ta_set_event.c index 29fc14bfb..fcafba542 100644 --- a/libpthread/nptl_db/td_ta_set_event.c +++ b/libpthread/nptl_db/td_ta_set_event.c @@ -22,9 +22,7 @@ td_err_e -td_ta_set_event (ta_arg, event) - const td_thragent_t *ta_arg; - td_thr_events_t *event; +td_ta_set_event (const td_thragent_t *ta_arg, td_thr_events_t *event) { td_thragent_t *const ta = (td_thragent_t *) ta_arg; td_err_e err; diff --git a/libpthread/nptl_db/td_thr_clear_event.c b/libpthread/nptl_db/td_thr_clear_event.c index c43c625a4..92e7f1531 100644 --- a/libpthread/nptl_db/td_thr_clear_event.c +++ b/libpthread/nptl_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_err_e err; psaddr_t eventmask; diff --git a/libpthread/nptl_db/td_thr_event_enable.c b/libpthread/nptl_db/td_thr_event_enable.c index a02be5da4..02140fd30 100644 --- a/libpthread/nptl_db/td_thr_event_enable.c +++ b/libpthread/nptl_db/td_thr_event_enable.c @@ -22,9 +22,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/nptl_db/td_thr_set_event.c b/libpthread/nptl_db/td_thr_set_event.c index 6617147a8..d7f50ad1d 100644 --- a/libpthread/nptl_db/td_thr_set_event.c +++ b/libpthread/nptl_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_err_e err; psaddr_t eventmask; |