list: new -> _new for c++ compatibility
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Feb 2010 14:28:41 +0000 (09:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 19 Feb 2010 14:28:41 +0000 (09:28 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/list.h

index d26751204192993c68c48010f7e931e18c6bfa2b..888e776fd3b9309470aa5c552e77745744aedda5 100644 (file)
@@ -159,11 +159,11 @@ static inline int list_empty(list_t *head)
 }
 
 static inline void list_replace_init(list_t *old,
-                                    list_t *new)
+                                    list_t *_new)
 {
        list_t *head = old->next;
        list_del(old);
-       list_add_tail(new, head);
+       list_add_tail(_new, head);
        INIT_LIST_HEAD(old);
 }
 
This page took 0.02515 seconds and 4 git commands to generate.