aboutsummaryrefslogtreecommitdiff
path: root/util/Makefile.objs
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-31 10:41:28 -0600
committerMarkus Armbruster <armbru@redhat.com>2016-06-30 15:28:40 +0200
commitfec0fc0a13ac7f1a1130433a6740cd850c3db34a (patch)
treef5dcc1ae871f41e227c411c00ba52aa9e6394d66 /util/Makefile.objs
parent9b4e38fe6a35890bb1d995316d7be08de0b30ee5 (diff)
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>
Diffstat (limited to 'util/Makefile.objs')
-rw-r--r--util/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs
index 45f8794864..96cb1e0e58 100644
--- a/util/Makefile.objs
+++ b/util/Makefile.objs
@@ -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