summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormvs <mvs@openbsd.org>2020-09-29 16:40:33 +0000
committermvs <mvs@openbsd.org>2020-09-29 16:40:33 +0000
commit89a75622d19a61b677520b36a8e9b1ac03776a36 (patch)
treef8e1939162ee2419262f8e554fbae88244e1c9ab
parentCheck ibuf_seek() return value. (diff)
downloadwireguard-openbsd-89a75622d19a61b677520b36a8e9b1ac03776a36.tar.xz
wireguard-openbsd-89a75622d19a61b677520b36a8e9b1ac03776a36.zip
Fix mistypes within sys/smr.h
LIST_END -> SMR_LIST_END TAILQ_END -> SMR_TAILQ_END ok visa@
-rw-r--r--sys/sys/smr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/smr.h b/sys/sys/smr.h
index b15689abc3f..9e64238398a 100644
--- a/sys/sys/smr.h
+++ b/sys/sys/smr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smr.h,v 1.7 2020/06/17 14:12:19 visa Exp $ */
+/* $OpenBSD: smr.h,v 1.8 2020/09/29 16:40:33 mvs Exp $ */
/*
* Copyright (c) 2019 Visa Hankala
@@ -288,7 +288,7 @@ struct { \
* List functions.
*/
#define SMR_LIST_INIT(head) do { \
- (head)->smr_lh_first = LIST_END(head); \
+ (head)->smr_lh_first = SMR_LIST_END(head); \
} while (0)
#define SMR_LIST_INSERT_AFTER_LOCKED(listelm, elm, field) do { \
@@ -382,7 +382,7 @@ struct { \
* Tail queue functions.
*/
#define SMR_TAILQ_INIT(head) do { \
- (head)->smr_tqh_first = TAILQ_END(head); \
+ (head)->smr_tqh_first = SMR_TAILQ_END(head); \
(head)->smr_tqh_last = &(head)->smr_tqh_first; \
} while (0)