diff options
Diffstat (limited to '')
-rw-r--r-- | src/songvec.c | 2 | ||||
-rw-r--r-- | src/songvec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/songvec.c b/src/songvec.c index c306ab640..ce04a4373 100644 --- a/src/songvec.c +++ b/src/songvec.c @@ -24,7 +24,7 @@ void songvec_sort(struct songvec *sv) pthread_mutex_unlock(&nr_lock); } -struct mpd_song *songvec_find(struct songvec *sv, const char *url) +struct mpd_song *songvec_find(const struct songvec *sv, const char *url) { int i; struct mpd_song *ret = NULL; diff --git a/src/songvec.h b/src/songvec.h index 0779552ae..633cf8d66 100644 --- a/src/songvec.h +++ b/src/songvec.h @@ -11,7 +11,7 @@ struct songvec { void songvec_sort(struct songvec *sv); -struct mpd_song *songvec_find(struct songvec *sv, const char *url); +struct mpd_song *songvec_find(const struct songvec *sv, const char *url); int songvec_delete(struct songvec *sv, const struct mpd_song *del); |