mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
range: Create range.c for code that should not be inline
g_list_insert_sorted_merged() is rather large to be an inline function; move it to its own file. range_merge() and ranges_can_merge() can likewise move, as they are only used internally. Also, it becomes obvious that the condition within range_merge() is already satisfied by its caller, and that the return value is not used. The diffstat is misleading, because of the copyright boilerplate. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1464712890-14262-2-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
9b4e38fe6a
commit
fec0fc0a13
3 changed files with 104 additions and 57 deletions
|
@ -34,3 +34,4 @@ util-obj-y += base64.o
|
|||
util-obj-y += log.o
|
||||
util-obj-y += qdist.o
|
||||
util-obj-y += qht.o
|
||||
util-obj-y += range.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue