X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=list.h;h=486b9170e0001d59c68b3ec34d7f6b33356df76f;hp=c85f50c7e79c45f8ae47ab0e721763044e80d09f;hb=f269333700038603703ec79c909d514bee731faf;hpb=8e1e5cc794c84fcfee75f701b339ae85a02eb1b8 diff --git a/list.h b/list.h index c85f50c7..486b9170 100644 --- a/list.h +++ b/list.h @@ -56,14 +56,15 @@ static inline void __list_add(struct list_head *new, } /** - * list_add - add a new entry - * @new: new entry to be added - * @head: list head to add it after + * add a new entry + * + * \param new: new entry to be added + * \param head: list head to add it after * * Insert a new entry after the specified head. * This is good for implementing stacks. */ -static inline void list_add(struct list_head *new, struct list_head *head) +static inline void para_list_add(struct list_head *new, struct list_head *head) { __list_add(new, head, head->next); } @@ -115,7 +116,7 @@ static inline void list_del(struct list_head *entry) static inline void list_move(struct list_head *list, struct list_head *head) { __list_del(list->prev, list->next); - list_add(list, head); + para_list_add(list, head); } /**