forked from Imagelibrary/rtems
2003-11-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* system.h: Remove USE_INLINES. * chain.c: Remove USE_INLINES.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2003-11-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* system.h: Remove USE_INLINES.
|
||||||
|
* chain.c: Remove USE_INLINES.
|
||||||
|
|
||||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||||
|
|||||||
@@ -54,28 +54,6 @@ void _Chain_Initialize(
|
|||||||
the_chain->last = current;
|
the_chain->last = current;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*PAGE
|
|
||||||
*
|
|
||||||
* _Chain_Get_first_unprotected
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef USE_INLINES
|
|
||||||
STATIC INLINE Chain_Node *_Chain_Get_first_unprotected(
|
|
||||||
Chain_Control *the_chain
|
|
||||||
)
|
|
||||||
{
|
|
||||||
Chain_Node *return_node;
|
|
||||||
Chain_Node *new_first;
|
|
||||||
|
|
||||||
return_node = the_chain->first;
|
|
||||||
new_first = return_node->next;
|
|
||||||
the_chain->first = new_first;
|
|
||||||
new_first->previous = _Chain_Head( the_chain );
|
|
||||||
|
|
||||||
return return_node;
|
|
||||||
}
|
|
||||||
#endif /* USE_INLINES */
|
|
||||||
|
|
||||||
/*PAGE
|
/*PAGE
|
||||||
*
|
*
|
||||||
* _Chain_Get
|
* _Chain_Get
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ typedef unsigned int unsigned32;
|
|||||||
typedef unsigned short unsigned16;
|
typedef unsigned short unsigned16;
|
||||||
typedef unsigned char unsigned8;
|
typedef unsigned char unsigned8;
|
||||||
|
|
||||||
#define USE_INLINES
|
|
||||||
#define STATIC static
|
#define STATIC static
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user