diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-16 00:01:07 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-16 00:01:07 +0200 |
commit | 2840e10b3294607268dde98ed247c4badd6735b2 (patch) | |
tree | 4f65906e94d92e4c7443be36a855677deb7a1bba /kern/list.h | |
parent | 1bcdf3c4d9e10541ba479c299124aa31c04f5b6f (diff) | |
download | gnumach-2840e10b3294607268dde98ed247c4badd6735b2.tar.gz gnumach-2840e10b3294607268dde98ed247c4badd6735b2.tar.bz2 gnumach-2840e10b3294607268dde98ed247c4badd6735b2.zip |
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.
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 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); } |