[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] libxl: Include a version of bsd's queue.h



Ian Jackson writes ("[Xen-devel] [PATCH] libxl: Include a version of bsd's 
queue.h"):
> We would like some linked list macros which are (a) well known to be
> sane and (b) typesafe.  BSD's queue.h meets these criteria.
> 
> The files in this changeset were obtained with:
>   svn co -r 221843 svn://svn.freebsd.org/base/head/sys/sys/
>   svn co -r 221843 svn://svn.freebsd.org/base/head/share/man/man3

I posted this because I noticed (too late) that libxl_qmp.c includes
<sys/queue.h> and uses some macros that are only available in some
queue.h versions.  This is not ideal for portability of course.

I think it would be good to include this massaged queue.h and use it
in libxl_qmp.c.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.