summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-12-29 09:58:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-12-29 09:58:54 +0000
commit9c8195a01495e6f933bf9e4835faa386368e0e29 (patch)
tree65f482132a752d70d4d7e5acda613df90a484372
parentRemove (Obsolete). (diff)
downloadrtems-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.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/score/chain.h4
-rw-r--r--cpukit/score/src/chain.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index a25ac0b134..5323d26aa9 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org>
* posix/include/aio.h, posix/include/devctl.h,
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;