diff --git a/include/ck_sequence.h b/include/ck_sequence.h index b7fcb48..c5ca193 100644 --- a/include/ck_sequence.h +++ b/include/ck_sequence.h @@ -47,7 +47,7 @@ ck_sequence_init(struct ck_sequence *sq) } CK_CC_INLINE static unsigned int -ck_sequence_read_begin(struct ck_sequence *sq) +ck_sequence_read_begin(const struct ck_sequence *sq) { unsigned int version; @@ -74,7 +74,7 @@ ck_sequence_read_begin(struct ck_sequence *sq) } CK_CC_INLINE static bool -ck_sequence_read_retry(struct ck_sequence *sq, unsigned int version) +ck_sequence_read_retry(const struct ck_sequence *sq, unsigned int version) { /*