X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Flist.h;h=4762c3b2ae81cfd77942ea61de0623151b659da0;hb=3fcf5ea270b0d29c2079751d2adadda770dfb0ec;hp=aaa2ad7c7053612ee9e93df32b146c0881826fbb;hpb=00e009957d70dab15575ab310ed83f0b78cc8656;p=bertos.git diff --git a/mware/list.h b/mware/list.h index aaa2ad7c..4762c3b2 100755 --- a/mware/list.h +++ b/mware/list.h @@ -15,6 +15,9 @@ /*#* *#* $Log$ + *#* Revision 1.11 2004/12/31 16:44:11 bernie + *#* list_remHead(), list_remTail(): Name like normal functions. + *#* *#* Revision 1.10 2004/11/28 23:21:05 bernie *#* Remove obsolete INITLIST macro. *#* @@ -167,7 +170,7 @@ typedef struct _List * * \return Pointer to node, or NULL if the list was empty. */ -INLINE Node *REMHEAD(List *l) +INLINE Node *list_remHead(List *l) { Node *n; @@ -185,7 +188,7 @@ INLINE Node *REMHEAD(List *l) * * \return Pointer to node, or NULL if the list was empty. */ -INLINE Node *REMTAIL(List *l) +INLINE Node *list_remTail(List *l) { Node *n; @@ -198,4 +201,8 @@ INLINE Node *REMTAIL(List *l) return n; } +/* OBSOLETE names */ +#define REMHEAD list_remHead +#define REMTAIL list_remTail + #endif /* MWARE_LIST_H */