OSSP CVS Repository

ossp - Difference in ossp-pkg/sio/list.h versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sio/list.h 1.1 -> 1.2

--- list.h       2002/10/18 08:57:34     1.1
+++ list.h       2002/10/18 10:21:41     1.2
@@ -29,6 +29,9 @@
 **  list.h: generic double-linked list macros
 */
 
+#ifndef __LIST_H__
+#define __LIST_H__
+
 #define LIST(elem) \
     struct { elem *head, *tail; }
 #define NODE(elem) \
@@ -158,3 +161,5 @@
 #define FOREACHR(q,l,n)   for (n = TAIL(q,l); n; n = PREV(n,l))
 #define FOREACHD(q,l,n,r) for (n = TAIL(q,l); n && (r = PREV(n,l), 1); n = r)
 
+#endif /* __LIST_H__ */
+

CVSTrac 2.0.1