diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-31 03:17:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-12-31 03:17:44 +0000 |
commit | de92bae6d3715271921187ff554390b21a89178c (patch) | |
tree | 993da0db6142b4700b7f79985e6a664aae7e2024 /cpukit | |
parent | 2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-de92bae6d3715271921187ff554390b21a89178c.tar.bz2 |
2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org>
* rtems/src/timerserver.c: Remove _Timer_Server_body warnings.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/rtems/src/timerserver.c | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 570062d50d..36fa5d3e50 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org> + + * rtems/src/timerserver.c: Remove _Timer_Server_body warnings. + 2008-12-29 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: Require <errno.h>. Cleanup comments. diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c index 7e48a3d57a..02fe52b248 100644 --- a/cpukit/rtems/src/timerserver.c +++ b/cpukit/rtems/src/timerserver.c @@ -219,8 +219,8 @@ static void _Timer_Server_process_seconds_chain( * * @param[in] ignored is the the task argument that is ignored */ -Thread _Timer_Server_body( - uint32_t ignored +rtems_task _Timer_Server_body( + rtems_task_argument argument __attribute__((unused)) ) { Chain_Control to_fire; @@ -317,8 +317,6 @@ Thread _Timer_Server_body( (*watch->routine)( watch->id, watch->user_data ); } } - - return 0; /* unreached - only to remove warnings */ } /** @@ -462,7 +460,7 @@ rtems_status_code rtems_timer_initiate_server( */ status = rtems_task_start( id, /* the id from create */ - (rtems_task_entry) _Timer_Server_body, /* the timer server entry point */ + _Timer_Server_body, /* the timer server entry point */ 0 /* there is no argument */ ); |