summaryrefslogtreecommitdiff
path: root/openbsd-compat/sys-queue.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-10-26 16:41:14 +1000
committerDamien Miller <djm@mindrot.org>2007-10-26 16:41:14 +1000
commitd129ecb0f98ea6e7e83f2a0a8914d3f99d5184c9 (patch)
treef74b3d39711a90d3be9221cc86317d489b492d4a /openbsd-compat/sys-queue.h
parentb99f5f714ba889a831591a1bdf436e29041c7dab (diff)
- deraadt@cvs.openbsd.org 2005/02/25 13:29:30
[openbsd-compat/sys-queue.h] minor white spacing
Diffstat (limited to 'openbsd-compat/sys-queue.h')
-rw-r--r--openbsd-compat/sys-queue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/sys-queue.h b/openbsd-compat/sys-queue.h
index 71eec0e8c..61e4ca7b0 100644
--- a/openbsd-compat/sys-queue.h
+++ b/openbsd-compat/sys-queue.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: queue.h,v 1.26 2004/05/04 16:59:32 grange Exp $ */ 1/* $OpenBSD: queue.h,v 1.27 2005/02/25 13:29:30 deraadt 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/*
@@ -229,10 +229,10 @@ struct { \
229#define SLIST_REMOVE(head, elm, type, field) do { \ 229#define SLIST_REMOVE(head, elm, type, field) do { \
230 if ((head)->slh_first == (elm)) { \ 230 if ((head)->slh_first == (elm)) { \
231 SLIST_REMOVE_HEAD((head), field); \ 231 SLIST_REMOVE_HEAD((head), field); \
232 } \ 232 } else { \
233 else { \
234 struct type *curelm = (head)->slh_first; \ 233 struct type *curelm = (head)->slh_first; \
235 while( curelm->field.sle_next != (elm) ) \ 234 \
235 while (curelm->field.sle_next != (elm)) \
236 curelm = curelm->field.sle_next; \ 236 curelm = curelm->field.sle_next; \
237 curelm->field.sle_next = \ 237 curelm->field.sle_next = \
238 curelm->field.sle_next->field.sle_next; \ 238 curelm->field.sle_next->field.sle_next; \