From a1076e60e77f71f2e2cd95039fc9f048bbdf2c9b Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 19 Dec 2017 11:26:10 +0300 Subject: [PATCH] Fix typo in AO_REAL_NEXT_PTR comment (atomic_ops_stack.h) * src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE] (AO_REAL_NEXT_PTR): Fix typo ("either NULL") in the comment. --- src/atomic_ops_stack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops_stack.h b/src/atomic_ops_stack.h index a71b61b..32bef7c 100644 --- a/src/atomic_ops_stack.h +++ b/src/atomic_ops_stack.h @@ -98,7 +98,7 @@ typedef struct AO__stack_aux { /* link fields in nodes, and nothing about the rest of the */ /* stack elements. Link fields hold an AO_t, which is not */ /* necessarily a real pointer. This converts the AO_t to a */ -/* real (AO_t *) which is either o, or points at the link */ +/* real (AO_t *) which is either NULL, or points at the link */ /* field in the next node. */ #define AO_REAL_NEXT_PTR(x) (AO_t *)((x) & ~AO_BIT_MASK) -- 2.40.0