summaryrefslogtreecommitdiffstats
path: root/src/collections.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-06-04 12:13:33 -0400
committerDavid Robillard <d@drobilla.net>2023-06-04 12:13:33 -0400
commitfa636a550000f0ef3f6f5c803072b139de6ac23c (patch)
treea629dd6aec88d5bfff21f7c91e2506e5c6308390 /src/collections.c
parentcaad4f5554fd77b61a0907a67bab90bc656d86ad (diff)
downloadlilv-fa636a550000f0ef3f6f5c803072b139de6ac23c.tar.gz
lilv-fa636a550000f0ef3f6f5c803072b139de6ac23c.tar.bz2
lilv-fa636a550000f0ef3f6f5c803072b139de6ac23c.zip
Make more functions static
Diffstat (limited to 'src/collections.c')
-rw-r--r--src/collections.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/collections.c b/src/collections.c
index 2ea812b..a7b6923 100644
--- a/src/collections.c
+++ b/src/collections.c
@@ -47,7 +47,7 @@ lilv_collection_new(ZixTreeCompareFunc cmp, LilvFreeFunc free_func)
return zix_tree_new(NULL, false, cmp, NULL, destroy, (const void*)free_func);
}
-void
+static void
lilv_collection_free(LilvCollection* collection)
{
if (collection) {
@@ -55,13 +55,13 @@ lilv_collection_free(LilvCollection* collection)
}
}
-unsigned
+static unsigned
lilv_collection_size(const LilvCollection* collection)
{
return (collection ? zix_tree_size((const ZixTree*)collection) : 0);
}
-LilvIter*
+static LilvIter*
lilv_collection_begin(const LilvCollection* collection)
{
return collection ? (LilvIter*)zix_tree_begin((ZixTree*)collection) : NULL;