summaryrefslogtreecommitdiff
path: root/src/include/memrange.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/memrange.h')
-rw-r--r--src/include/memrange.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/memrange.h b/src/include/memrange.h
index 2579f20c18..deb8c1e5de 100644
--- a/src/include/memrange.h
+++ b/src/include/memrange.h
@@ -69,7 +69,7 @@ static inline void range_entry_update_tag(struct range_entry *r,
r->tag = new_tag;
}
-static inline bool memranges_is_empty(struct memranges *ranges)
+static inline bool memranges_is_empty(const struct memranges *ranges)
{
return ranges->entries == NULL;
}