Fix warnings with GCC 3.3.2.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 22:12:53 +0000 (22:12 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 22:12:53 +0000 (22:12 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@58 38d2e660-2303-0410-9eaa-f027e97ec537

mware/list.h

index 08d45aca6b8b99c06bba30e3633d2cf865dabb87..8f57f448bced6c4952401ec058d54cae4082e23c 100755 (executable)
@@ -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;