SIMPLEQ_* macros from OpenBSD sys/queue.h
keramida at freebsd.org
Thu Jul 14 11:49:03 GMT 2005
On 2005-07-14 00:22, "M. Warner Losh" <imp at bsdimp.com> wrote:
> In message: <20050713210941.GA841 at gothmog.gr>
> Giorgos Keramidas <keramida at freebsd.org> writes:
> : I couldn't agree more. Helping source-level compatibility, as much as
> : this can be accomplished for kernel code, is definitely a plus. This is
> : partly the reason why I noted that OpenBSD synchronized their queue.h
> : header with NetBSD a few times in the past. I just didn't propose
> : something like this because I'm not sure I can convince any of the three
> : BSD teams to s/SIMPLEQ/STAILQ/ or vice versa :-)
> Yea, but adding the #defines to sys/queue.h in both directions likely
> wouldn't hurt.
Surely. Great idea!
As long as there *is* an equivalent macro that exactly matches the
expected behavior, this can work nicely.
More information about the freebsd-hackers