diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-15 23:18:16 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-15 23:18:16 +0200 |
commit | 683050a0eebf8678496bdd8200408361266d6f6e (patch) | |
tree | ac7f2bb6c7bcbf7c22e2b88ebc519a1fbe43616b /kern/list.h | |
parent | cf572e25ec9bf2d56c1fef5eeced991dff72db5d (diff) |
kern/list: rename list_insert to list_insert_head
This change increases clarity.
Diffstat (limited to 'kern/list.h')
-rw-r--r-- | kern/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/list.h b/kern/list.h index 647e94c..fef0370 100644 --- a/kern/list.h +++ b/kern/list.h @@ -241,7 +241,7 @@ list_add(struct list *prev, struct list *next, struct list *node) * Insert a node at the head of a list. */ static inline void -list_insert(struct list *list, struct list *node) +list_insert_head(struct list *list, struct list *node) { list_add(list, list->next, node); } |