From: Jim Meyering <meyer...@redhat.com> * include/corosync/list.h: Don't use "remove" as param name. --- include/corosync/list.h | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/corosync/list.h b/include/corosync/list.h index e9df38b..1790a69 100644 --- a/include/corosync/list.h +++ b/include/corosync/list.h @@ -66,13 +66,13 @@ static void inline list_add_tail (struct list_head *element, struct list_head *h element->prev = head->prev; head->prev = element; } -static void inline list_del (struct list_head *remove) +static void inline list_del (struct list_head *_remove) { - remove->next->prev = remove->prev; - remove->prev->next = remove->next; + _remove->next->prev = _remove->prev; + _remove->prev->next = _remove->next; #ifdef DEBUG - remove->next = (struct list_head *)0xdeadb33f; - remove->prev = (struct list_head *)0xdeadb33f; + _remove->next = (struct list_head *)0xdeadb33f; + _remove->prev = (struct list_head *)0xdeadb33f; #endif } -- 1.6.3.rc0.154.g06890 _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais