[BACK]Return to list.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / include / isc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/include/isc/list.h between version 1.4 and 1.5

version 1.4, 2007/03/30 20:23:03 version 1.5, 2009/04/12 17:07:16
Line 33 
Line 33 
         } while (/*CONSTCOND*/0)          } while (/*CONSTCOND*/0)
 #define INIT_LINK(elt, link) \  #define INIT_LINK(elt, link) \
         INIT_LINK_TYPE(elt, link, void)          INIT_LINK_TYPE(elt, link, void)
 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1))  #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \
                              (void *)((elt)->link.next) != (void *)(-1))
   
 #define HEAD(list) ((list).head)  #define HEAD(list) ((list).head)
 #define TAIL(list) ((list).tail)  #define TAIL(list) ((list).tail)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

CVSweb <webmaster@jp.NetBSD.org>