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:
parent
a88479e2a9
commit
56c7aeaee8
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Distributed under the terms of the OpenBeOS License.
|
||||
*/
|
||||
#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_head_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
|
||||
list_is_empty(struct list *list)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
** 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.
|
||||
*/
|
||||
|
||||
void *
|
||||
void
|
||||
list_move_to_list(struct list *sourceList, struct list *targetList)
|
||||
{
|
||||
*targetList = *sourceList;
|
||||
|
Loading…
x
Reference in New Issue
Block a user