X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Furcu%2Flist.h;h=f2d77bb067d0c0ff69342b2aea374cf62706c981;hb=4004aa467ec4198aed8825122ba1ae2822fd7979;hp=5f7c915fa5be7cde512270c6492da91503dd607e;hpb=ec0f993ce9313c680ed83ae24b6535df7f275bba;p=userspace-rcu.git diff --git a/include/urcu/list.h b/include/urcu/list.h index 5f7c915..f2d77bb 100644 --- a/include/urcu/list.h +++ b/include/urcu/list.h @@ -88,7 +88,7 @@ void cds_list_move(struct cds_list_head *elem, struct cds_list_head *head) /* Replace an old entry. */ static inline -void cds_list_replace(struct cds_list_head *old, struct cds_list_head *_new) +void cds_list_replace(const struct cds_list_head *old, struct cds_list_head *_new) { _new->next = old->next; _new->prev = old->prev;