dasm: list_empty() can use a const pointer.
[b43-tools.git] / disassembler / list.h
index ce26357963acf98d3cb7bf2fa722c6276f1d82db..78464247fb22e96108f458e8e63ce25be1b0b8b7 100644 (file)
@@ -163,7 +163,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;
 }