projects
/
b43-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55478b
)
dasm: list_empty() can use a const pointer.
author
Michael Buesch
<mb@bu3sch.de>
Sat, 17 Nov 2007 23:37:49 +0000
(
00:37
+0100)
committer
Michael Buesch
<mb@bu3sch.de>
Sat, 17 Nov 2007 23:37:49 +0000
(
00:37
+0100)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
disassembler/list.h
patch
|
blob
|
history
diff --git
a/disassembler/list.h
b/disassembler/list.h
index ce26357963acf98d3cb7bf2fa722c6276f1d82db..78464247fb22e96108f458e8e63ce25be1b0b8b7 100644
(file)
--- 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;
}