Date: Thu, 26 Oct 2000 19:15:01 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Bob Willcox <bob@immure.com> Cc: hackers list <freebsd-hackers@FreeBSD.ORG> Subject: Re: STAILQ_LAST -- what should it return? Message-ID: <898.972580501@critter> In-Reply-To: Your message of "Thu, 26 Oct 2000 12:12:43 CDT." <20001026121243.A38987@luke.immure.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20001026121243.A38987@luke.immure.com>, Bob Willcox writes: >To follow-up my own question, it appears that the STAILQ_LAST macro has >been changed (fixed) in -current to return the address of the last entry >(or NULL if the list is empty). Please don't MFS sys/queue.h from -current. It bogusly #includes <struct.h>. I have a patch which is in the finishing stages of brucification right now. >> #define STAILQ_LAST(head) (*(head)->stqh_last) >> -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?898.972580501>