summaryrefslogtreecommitdiff
path: root/kern/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/list.h')
-rw-r--r--kern/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/list.h b/kern/list.h
index 0341471..ad782a8 100644
--- a/kern/list.h
+++ b/kern/list.h
@@ -240,7 +240,7 @@ static inline void list_add(struct list *prev, struct list *next,
/*
* Insert a node at the head of a list.
*/
-static inline void list_insert(struct list *list, struct list *node)
+static inline void list_insert_head(struct list *list, struct list *node)
{
list_add(list, list->next, node);
}