Fixed a typo, thanks to Jack Burton for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef KERNEL_LIST_H
|
#ifndef KERNEL_LIST_H
|
||||||
@@ -52,7 +52,7 @@ extern void list_add_item(struct list *list, void *item);
|
|||||||
extern void list_remove_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_head_item(struct list *list);
|
||||||
extern void *list_remove_tail_item(struct list *list);
|
extern void *list_remove_tail_item(struct list *list);
|
||||||
extern void *list_move_to_list(struct list *sourceList, struct list *targetList);
|
extern void list_move_to_list(struct list *sourceList, struct list *targetList);
|
||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
list_is_empty(struct list *list)
|
list_is_empty(struct list *list)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ list_remove_tail_item(struct list *list)
|
|||||||
* this is a very fast operation.
|
* this is a very fast operation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void *
|
void
|
||||||
list_move_to_list(struct list *sourceList, struct list *targetList)
|
list_move_to_list(struct list *sourceList, struct list *targetList)
|
||||||
{
|
{
|
||||||
*targetList = *sourceList;
|
*targetList = *sourceList;
|
||||||
|
|||||||
Reference in New Issue
Block a user