summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--openbsd-compat/sys-queue.h6
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d061c4de5..6627ebae4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,11 @@
94 - tdeval@cvs.openbsd.org 2004/11/24 18:10:42 94 - tdeval@cvs.openbsd.org 2004/11/24 18:10:42
95 [openbsd-compat/sys-tree.h] 95 [openbsd-compat/sys-tree.h]
96 typo 96 typo
97 - grange@cvs.openbsd.org 2004/05/04 16:59:32
98 [openbsd-compat/sys-queue.h]
99 Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.
100 This matches our SLIST behaviour and NetBSD's SIMPLEQ as well.
101 ok millert krw deraadt
97 - (djm) [regress/sftp-cmds.sh] 102 - (djm) [regress/sftp-cmds.sh]
98 Use more restrictive glob to pick up test files from /bin - some platforms 103 Use more restrictive glob to pick up test files from /bin - some platforms
99 ship broken symlinks there which could spoil the test. 104 ship broken symlinks there which could spoil the test.
@@ -3370,4 +3375,4 @@
3370 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3375 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3371 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3376 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3372 3377
3373$Id: ChangeLog,v 1.4785 2007/10/26 06:39:05 djm Exp $ 3378$Id: ChangeLog,v 1.4786 2007/10/26 06:40:20 djm Exp $
diff --git a/openbsd-compat/sys-queue.h b/openbsd-compat/sys-queue.h
index 402343324..71eec0e8c 100644
--- a/openbsd-compat/sys-queue.h
+++ b/openbsd-compat/sys-queue.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: queue.h,v 1.25 2004/04/08 16:08:21 henning Exp $ */ 1/* $OpenBSD: queue.h,v 1.26 2004/05/04 16:59:32 grange Exp $ */
2/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */ 2/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */
3 3
4/* 4/*
@@ -369,8 +369,8 @@ struct { \
369 (listelm)->field.sqe_next = (elm); \ 369 (listelm)->field.sqe_next = (elm); \
370} while (0) 370} while (0)
371 371
372#define SIMPLEQ_REMOVE_HEAD(head, elm, field) do { \ 372#define SIMPLEQ_REMOVE_HEAD(head, field) do { \
373 if (((head)->sqh_first = (elm)->field.sqe_next) == NULL) \ 373 if (((head)->sqh_first = (head)->sqh_first->field.sqe_next) == NULL) \
374 (head)->sqh_last = &(head)->sqh_first; \ 374 (head)->sqh_last = &(head)->sqh_first; \
375} while (0) 375} while (0)
376 376