SIMPLEQ_* macros from OpenBSD sys/queue.h
flz at xbsd.org
Wed Jul 13 05:06:26 GMT 2005
Le Mercredi 13 juillet 2005 à 01:14 +0300, Giorgos Keramidas a écrit :
> On 2005-07-12 17:59, Florent Thoumie <flz at xbsd.org> wrote:
> > I'm currently working on OpenBGPd port update and I'm facing a little
> > problem that is actually quite painful to deal with.
> > I need some macros from OpenBSD sys/queue.h which aren't present in
> > FreeBSD. I can replace #include <sys/queue.h> with #include "queue.h"
> > and copy the file in the working directory but this leads to having
> > more than 10 patches.
> > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden
> > "dependency" (by hidden, I mean it's included by an included header
> > file, and doesn't show up directly in the source file).
> > So, could somebody consider merging these SIMPLEQ_* macros or even
> > synchronize FreeBSD and OpenBSD versions ?
> OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the
> cvs logs in their tree.
> I have the queue.h headers from all three on my disk and I'm already
> looking at the differences, so if you don't mind waiting 1-2 days so
> that I can run any changes through a buildworld I'll give it a try.
> If you have changes that depend on SIMPLEQ_* that could serve as a test
> case that you can share, it would be nice too :-)
I looked at the manual pages too quickly and like Kevin said,
they are the same as FreeBSD STAILQ_* macros.
Thanks for volunteering anyway :)
flz at xbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050713/c9862bde/attachment.bin
More information about the freebsd-hackers