mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 13:07:52 +08:00
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user