summaryrefslogtreecommitdiff
path: root/openbsd-compat/sys-queue.h
Commit message (Collapse)AuthorAgeFilesLines
* undef TAILQ_CONCAT and friendsDamien Miller2020-08-041-56/+59
| | | | Needed for NetBSD. etc that supply these macros
* sync sys-queue.h with OpenBSD upstreamDamien Miller2020-07-031-147/+113
| | | | needed for TAILQ_CONCAT
* Also undef SIMPLEQ_FOREACH_SAFE.Darren Tucker2019-01-241-0/+1
| | | | Prevents macro redefinition warning on at least NetBSD 6.1.
* Undef a few new macros in sys-queue.h.Darren Tucker2018-07-141-0/+5
| | | | Prevents macro redefinition warnings on OSX.
* - (djm) [openbsd-compat/sys-queue.h] Sync with OpenBSD to getDamien Miller2012-12-031-6/+47
| | | | TAILQ_FOREACH_SAFE needed for upcoming changes.
* - otto@cvs.openbsd.org 2007/04/30 18:42:34Damien Miller2007-10-261-2/+2
| | | | | | [openbsd-compat/sys-queue.h] Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels. Input and okays from krw@, millert@, otto@, deraadt@, miod@.
* - otto@cvs.openbsd.org 2005/11/25 08:06:25Damien Miller2007-10-261-1/+20
| | | | | | | [openbsd-compat/sys-queue.h] Introduce debugging aid for queue macros. Disabled by default; but developers are encouraged to run with this enabled. ok krw@ fgsch@ deraadt@
* - otto@cvs.openbsd.org 2005/10/25 06:37:47Damien Miller2007-10-261-12/+1
| | | | | | [openbsd-compat/sys-queue.h] Some uvm problem is being exposed with the more strict macros. Revert until we've found out what's causing the panics.
* - otto@cvs.openbsd.org 2005/10/24 20:25:14Damien Miller2007-10-261-3/+1
| | | | | | [openbsd-compat/sys-queue.h] Partly backout. NOLIST, used in LISTs is probably interfering. requested by deraadt@
* - otto@cvs.openbsd.org 2005/10/17 20:19:42Damien Miller2007-10-261-1/+14
| | | | | | | | | | [openbsd-compat/sys-queue.h] Performing certain operations on queue.h data structurs produced funny results. An example is calling LIST_REMOVE on the same element twice. This will not fail, but result in a data structure referencing who knows what. Prevent these accidents by NULLing some fields on remove and replace. This way, either a panic or segfault will be produced on the faulty operation.
* - deraadt@cvs.openbsd.org 2005/02/25 13:29:30Damien Miller2007-10-261-4/+4
| | | | | [openbsd-compat/sys-queue.h] minor white spacing
* - grange@cvs.openbsd.org 2004/05/04 16:59:32Damien Miller2007-10-261-3/+3
| | | | | | | [openbsd-compat/sys-queue.h] Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
* - (dtucker) [openbsd-compat/{LOTS}] Move the "OPENBSD ORIGINAL" markers toDarren Tucker2005-11-101-2/+2
| | | | | after the copyright notices. Having them at the top next to the CVSIDs guarantees a conflict for each and every sync.
* - (bal) [openbsd-compat/sys-queue.h] Reintroduce machinary to handleBen Lindstrom2004-05-231-3/+86
| | | | old/broken/incomplete <sys/queue.h>.
* - (djm) [openbsd-compat/sys-queue.h] Sync with OpenBSD, needed for above changeDamien Miller2004-04-201-86/+14
|
* - (djm) Annotate OpenBSD-derived files in openbsd-compat/ with originalDamien Miller2003-11-241-0/+2
| | | | source file path (in OpenBSD tree).
* - (djm) Sync openbsd-compat with OpenBSD CVS.Damien Miller2003-06-031-6/+2
| | | | - No more 4-term BSD licenses in our tree
* - (djm) Sync sys/tree.h with OpenBSD -current. Rename tree.h andDamien Miller2002-09-121-0/+584
fake-queue.h to sys-tree.h and sys-queue.h