| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | #ifndef LIST_TYPES_H |
| 3 | #define LIST_TYPES_H |
| 4 | |
| 5 | struct list_head { |
| 6 | struct list_head *next, *prev; |
| 7 | }; |
| 8 | |
| 9 | struct hlist_head { |
| 10 | struct hlist_node *first; |
| 11 | }; |
| 12 | |
| 13 | struct hlist_node { |
| 14 | struct hlist_node *next, **pprev; |
| 15 | }; |
| 16 | |
| 17 | #endif /* LIST_TYPES_H */ |