aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/songvec.c')
-rw-r--r--src/songvec.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/songvec.c b/src/songvec.c
index b22ac4c1b..08ff7f236 100644
--- a/src/songvec.c
+++ b/src/songvec.c
@@ -23,7 +23,8 @@ void songvec_sort(struct songvec *sv)
pthread_mutex_unlock(&nr_lock);
}
-Song *songvec_find(struct songvec *sv, const char *url)
+Song *
+songvec_find(const struct songvec *sv, const char *url)
{
int i;
Song *ret = NULL;
@@ -83,7 +84,9 @@ void songvec_destroy(struct songvec *sv)
pthread_mutex_unlock(&nr_lock);
}
-int songvec_for_each(struct songvec *sv, int (*fn)(Song *, void *), void *arg)
+int
+songvec_for_each(const struct songvec *sv,
+ int (*fn)(Song *, void *), void *arg)
{
size_t i;