From: Mathieu Desnoyers Date: Fri, 19 Feb 2010 14:28:41 +0000 (-0500) Subject: list: new -> _new for c++ compatibility X-Git-Tag: v0.4.2~22 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=38004536194d9f3bdccce9aeab3c3adb2fc09b8a;p=userspace-rcu.git list: new -> _new for c++ compatibility Signed-off-by: Mathieu Desnoyers --- 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); }