X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=disassembler%2Flist.h;h=78464247fb22e96108f458e8e63ce25be1b0b8b7;hb=234a3cf2edb9b3e985242d7ff44984cbe749e8a4;hp=ce26357963acf98d3cb7bf2fa722c6276f1d82db;hpb=d55478bb22a3ae905775d2394058c37a44c0f940;p=b43-tools.git diff --git a/disassembler/list.h b/disassembler/list.h index ce26357..7846424 100644 --- a/disassembler/list.h +++ b/disassembler/list.h @@ -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; }