From 7f1f508e13d427ddfbed762576c875e9d2b10485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 26 Jan 2003 23:30:12 +0000 Subject: [PATCH] Added two convenience functions list_add_item(), list_remove_item(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2565 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/list.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/headers/private/kernel/list.h b/headers/private/kernel/list.h index 045e260021..96b867240e 100644 --- a/headers/private/kernel/list.h +++ b/headers/private/kernel/list.h @@ -48,6 +48,8 @@ extern void list_add_link_to_tail(struct list *list, void *_link); extern void list_remove_link(void *_link); extern void *list_get_next_item(struct list *list, void *item); extern void *list_get_prev_item(struct list *list, void *item); +extern void list_add_item(struct list *list, void *item); +extern void list_remove_item(struct list *list, void *item); extern void *list_remove_head_item(struct list *list); extern void *list_remove_tail_item(struct list *list);