~ubuntu-branches/ubuntu/intrepid/haproxy/intrepid

« back to all changes in this revision

Viewing changes to include/common/mini-clist.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2008-03-09 21:30:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080309213029-8oupnrc607mg5uqw
Tags: 1.3.14.3-1
* New Upstream Version
* Add status argument support to init-script to conform to LSB.
* Cleanup pidfile after stop in init script. Init script return code fixups.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
    struct list *p;     /* prev */
20
20
};
21
21
 
 
22
/* First undefine some macros which happen to also be defined on OpenBSD,
 
23
 * in sys/queue.h, used by sys/event.h
 
24
 */
 
25
#undef LIST_HEAD
 
26
#undef LIST_INIT
 
27
#undef LIST_NEXT
 
28
 
22
29
#define LIST_HEAD(a)    ((void *)(&(a)))
23
30
 
24
31
#define LIST_INIT(l) ((l)->n = (l)->p = (l))