Searched refs:previtem (Results 1 – 2 of 2) sorted by relevance
127 list_insert(list_t list, void *previtem, void *newitem) { in list_insert() argument128 if(previtem == NULL) { in list_insert()131 ((struct list *)newitem)->next = ((struct list *)previtem)->next; in list_insert()132 ((struct list *)previtem)->next = newitem; in list_insert()
126 list_insert(list_t the_list, void *previtem, void *newitem) { in list_insert() argument127 if(previtem == NULL) { in list_insert()130 ((struct list *)newitem)->next = ((struct list *)previtem)->next; in list_insert()131 ((struct list *)previtem)->next = (struct list*)newitem; in list_insert()