summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-31 03:17:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-31 03:17:44 +0000
commitde92bae6d3715271921187ff554390b21a89178c (patch)
tree993da0db6142b4700b7f79985e6a664aae7e2024 /cpukit/rtems
parent2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-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/rtems')
-rw-r--r--cpukit/rtems/src/timerserver.c8
1 files changed, 3 insertions, 5 deletions
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 */
);