diff options
Diffstat (limited to 'openbsd-compat/sys-queue.h')
-rw-r--r-- | openbsd-compat/sys-queue.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 | ||