rculfhash: make cds_lfht_iter_get_node argument const
[urcu.git] / include / urcu / list.h
index 5f7c915fa5be7cde512270c6492da91503dd607e..f2d77bb067d0c0ff69342b2aea374cf62706c981 100644 (file)
@@ -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;
This page took 0.022561 seconds and 4 git commands to generate.