diff options
Diffstat (limited to 'src/libvmon/list.h')
-rw-r--r-- | src/libvmon/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvmon/list.h b/src/libvmon/list.h index 48bca36..04cafd6 100644 --- a/src/libvmon/list.h +++ b/src/libvmon/list.h @@ -130,7 +130,7 @@ static inline void list_move_tail(struct list_head *list, * list_empty - tests whether a list is empty * @head: the list to test. */ -static inline int list_empty(struct list_head *head) +static inline int list_empty(const struct list_head *head) { return head->next == head; } |