From: bernie Date: Fri, 31 Dec 2004 16:44:11 +0000 (+0000) Subject: list_remHead(), list_remTail(): Name like normal functions. X-Git-Tag: 1.0.0~921 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=82576456c4e4a89ab5376d72375c28ad3adbd35b;p=bertos.git list_remHead(), list_remTail(): Name like normal functions. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@320 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */