summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-08 16:08:22 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-08 16:08:22 +0000
commit38725b4cacd776c378e4427633490a22125a2686 (patch)
tree33c9142d17191ed5bd2f7096b417fee40ae8b732 /sbin
parent7d301ed869dd9ff818e6f107d9853bd84d816a16 (diff)
swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSD
and NetBSD do. ok millert@ mcbride@ markus@ ho@, checked to not affect ports by naddy@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/sysdep/linux/sys/queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/sysdep/linux/sys/queue.h b/sbin/isakmpd/sysdep/linux/sys/queue.h
index d7465bedfa8..3f0be6c73d8 100644
--- a/sbin/isakmpd/sysdep/linux/sys/queue.h
+++ b/sbin/isakmpd/sysdep/linux/sys/queue.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue.h,v 1.6 2003/09/02 18:11:15 ho Exp $ */
+/* $OpenBSD: queue.h,v 1.7 2004/04/08 16:08:21 henning Exp $ */
/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */
/*
@@ -317,7 +317,7 @@ struct { \
(var) != TAILQ_END(head); \
(var) = TAILQ_NEXT(var, field))
-#define TAILQ_FOREACH_REVERSE(var, head, field, headname) \
+#define TAILQ_FOREACH_REVERSE(var, head, headname, field) \
for((var) = TAILQ_LAST(head, headname); \
(var) != TAILQ_END(head); \
(var) = TAILQ_PREV(var, headname, field))