From 38004536194d9f3bdccce9aeab3c3adb2fc09b8a Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 19 Feb 2010 09:28:41 -0500 Subject: [PATCH] list: new -> _new for c++ compatibility Signed-off-by: Mathieu Desnoyers --- urcu/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urcu/list.h b/urcu/list.h index d267512..888e776 100644 --- a/urcu/list.h +++ b/urcu/list.h @@ -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); } -- 2.34.1