Now uses the DoublyLinked::List class instead of the C list stuff.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5016 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include <util/list.h>
|
||||
#include <util/DoublyLinkedList.h>
|
||||
#include <boot/stage2_args.h>
|
||||
|
||||
|
||||
@@ -34,11 +34,15 @@ class Node {
|
||||
status_t Acquire();
|
||||
status_t Release();
|
||||
|
||||
DoublyLinked::Link fLink;
|
||||
|
||||
protected:
|
||||
list_link fLink;
|
||||
int32 fRefCount;
|
||||
};
|
||||
|
||||
typedef DoublyLinked::List<Node> NodeList;
|
||||
typedef DoublyLinked::Iterator<Node> NodeIterator;
|
||||
|
||||
|
||||
class Directory : public Node {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user