aboutsummaryrefslogtreecommitdiffstats
path: root/src/songvec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/songvec.h')
-rw-r--r--src/songvec.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/songvec.h b/src/songvec.h
index dbe6be508..0373ed3e7 100644
--- a/src/songvec.h
+++ b/src/songvec.h
@@ -11,7 +11,8 @@ struct songvec {
void songvec_sort(struct songvec *sv);
-Song *songvec_find(struct songvec *sv, const char *url);
+Song *
+songvec_find(const struct songvec *sv, const char *url);
int songvec_delete(struct songvec *sv, const Song *del);
@@ -19,6 +20,8 @@ void songvec_add(struct songvec *sv, Song *add);
void songvec_destroy(struct songvec *sv);
-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);
#endif /* SONGVEC_H */