summaryrefslogtreecommitdiff
path: root/src/lib/memrange.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/memrange.c')
-rw-r--r--src/lib/memrange.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/memrange.c b/src/lib/memrange.c
index c376d52816..1a16ef73ab 100644
--- a/src/lib/memrange.c
+++ b/src/lib/memrange.c
@@ -321,3 +321,9 @@ void memranges_fill_holes_up_to(struct memranges *ranges,
/* Merge all entries that were newly added. */
merge_neighbor_entries(ranges);
}
+
+struct range_entry *memranges_next_entry(struct memranges *ranges,
+ const struct range_entry *r)
+{
+ return r->next;
+}