MCPcopy Create free account
hub / github.com/git/git / list_del_init

Function list_del_init

list.h:86–90  ·  view source on GitHub ↗

Remove element from list, initializing the element's list pointers. */

Source from the content-addressed store, hash-verified

84
85/* Remove element from list, initializing the element's list pointers. */
86static inline void list_del_init(struct list_head *elem)
87{
88 list_del(elem);
89 INIT_LIST_HEAD(elem);
90}
91
92/* Delete from list, add to another list as head. */
93static inline void list_move(struct list_head *elem, struct list_head *head)

Callers

nothing calls this directly

Calls 1

list_delFunction · 0.85

Tested by

no test coverage detected