summaryrefslogtreecommitdiff
path: root/src/lib/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/list.c')
-rw-r--r--src/lib/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/list.c b/src/lib/list.c
index 4fc9fa4a..62b2eb27 100644
--- a/src/lib/list.c
+++ b/src/lib/list.c
@@ -65,7 +65,7 @@ void list_del(struct list_head * e)
e->nxt = e->prv = e;
}
-bool list_is_empty(struct list_head * h)
+bool list_is_empty(const struct list_head * h)
{
return h->nxt == h;
}