From 2840e10b3294607268dde98ed247c4badd6735b2 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Thu, 16 May 2013 00:01:07 +0200 Subject: Rename list_insert to list_insert_head This change increases clarity. * kern/list.h (list_insert): Rename to ... (list_insert_head): ... this. * kern/slab.c: Update calls to list_insert. --- kern/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/list.h') diff --git a/kern/list.h b/kern/list.h index 03414718..ad782a8a 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); } -- cgit v1.2.3