diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-12-29 09:58:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-12-29 09:58:54 +0000 |
commit | 9c8195a01495e6f933bf9e4835faa386368e0e29 (patch) | |
tree | 65f482132a752d70d4d7e5acda613df90a484372 /cpukit/score | |
parent | Remove (Obsolete). (diff) | |
download | rtems-9c8195a01495e6f933bf9e4835faa386368e0e29.tar.bz2 |
2004-12-29 Ralf Corsepius <ralf.corsepius@rtems.org>
* score/include/rtems/score/chain.h:
Use uint32_t instead of unsigned32.
* score/src/chain.c: Remove superfluous type cast.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/chain.h | 4 | ||||
-rw-r--r-- | cpukit/score/src/chain.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/chain.h b/cpukit/score/include/rtems/score/chain.h index 46accd3a95..497b00d635 100644 --- a/cpukit/score/include/rtems/score/chain.h +++ b/cpukit/score/include/rtems/score/chain.h @@ -104,8 +104,8 @@ typedef struct { void _Chain_Initialize( Chain_Control *the_chain, void *starting_address, - unsigned32 number_nodes, - unsigned32 node_size + uint32_t number_nodes, + uint32_t node_size ); #ifndef RTEMS_INLINES diff --git a/cpukit/score/src/chain.c b/cpukit/score/src/chain.c index 4e280fecd7..ea064c6b60 100644 --- a/cpukit/score/src/chain.c +++ b/cpukit/score/src/chain.c @@ -50,7 +50,7 @@ void _Chain_Initialize( count = number_nodes; current = _Chain_Head( the_chain ); the_chain->permanent_null = NULL; - next = (Chain_Node *)starting_address; + next = starting_address; while ( count-- ) { current->next = next; next->previous = current; |