From: bernie Date: Sun, 18 Jul 2004 22:12:53 +0000 (+0000) Subject: Fix warnings with GCC 3.3.2. X-Git-Tag: 1.0.0~1183 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=8eb928a7c1e446a2a0606a48a93ab732e5e14229;p=bertos.git Fix warnings with GCC 3.3.2. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@58 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/mware/list.h b/mware/list.h index 08d45aca..8f57f448 100755 --- a/mware/list.h +++ b/mware/list.h @@ -13,6 +13,9 @@ /* * $Log$ + * Revision 1.4 2004/07/18 22:12:53 bernie + * Fix warnings with GCC 3.3.2. + * * Revision 1.3 2004/07/18 22:01:43 bernie * REMHEAD(), REMTAIL(): Move to list.h as inline functions. * @@ -118,6 +121,7 @@ typedef struct _List * \name Unlink a node from the head of the list \a l. * \return Pointer to node, or NULL if the list was empty. */ +INLINE Node *REMHEAD(List *l); INLINE Node *REMHEAD(List *l) { Node *n; @@ -135,6 +139,7 @@ INLINE Node *REMHEAD(List *l) * \name Unlink a node from the tail of the list \a l. * \return Pointer to node, or NULL if the list was empty. */ +INLINE Node *REMTAIL(List *l); INLINE Node *REMTAIL(List *l) { Node *n;