Fix typo in AO_REAL_NEXT_PTR comment (atomic_ops_stack.h)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 19 Dec 2017 08:26:10 +0000 (11:26 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:25:52 +0000 (10:25 +0300)
* 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

index a71b61b..32bef7c 100644 (file)
@@ -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)