From: Ivan Maidanski Date: Tue, 19 Dec 2017 08:26:10 +0000 (+0300) Subject: Fix typo in AO_REAL_NEXT_PTR comment (atomic_ops_stack.h) X-Git-Tag: v7.6.2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1cb2c68e810a779d429df66e7029d203d877b19;p=platform%2Fupstream%2Flibatomic_ops.git 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. --- 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)