Rev 2446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2446 | Rev 3068 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | 34 | ||
| 35 | #ifndef KERN_LIST_H_ |
35 | #ifndef KERN_LIST_H_ |
| 36 | #define KERN_LIST_H_ |
36 | #define KERN_LIST_H_ |
| 37 | 37 | ||
| 38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
| - | 39 | #include <typedefs.h> |
|
| 39 | 40 | ||
| 40 | /** Doubly linked list head and link type. */ |
41 | /** Doubly linked list head and link type. */ |
| 41 | typedef struct link { |
42 | typedef struct link { |
| 42 | struct link *prev; /**< Pointer to the previous item in the list. */ |
43 | struct link *prev; /**< Pointer to the previous item in the list. */ |
| 43 | struct link *next; /**< Pointer to the next item in the list. */ |
44 | struct link *next; /**< Pointer to the next item in the list. */ |