aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_save.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-07-21 09:26:37 +0200
committerMax Kellermann <max@duempel.org>2010-07-21 09:26:50 +0200
commite21ad70f3fa183447436c5434585288d58559a46 (patch)
tree6e58acb7e9da76f7a690c0bc8a6548aa2a44bbbd /src/song_save.c
parenta81cb932c219dfe0a51af747508f2d47b57ebf75 (diff)
downloadmpd-e21ad70f3fa183447436c5434585288d58559a46.tar.gz
mpd-e21ad70f3fa183447436c5434585288d58559a46.tar.xz
mpd-e21ad70f3fa183447436c5434585288d58559a46.zip
song_save: pass const songvec to songvec_save()
Diffstat (limited to 'src/song_save.c')
-rw-r--r--src/song_save.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song_save.c b/src/song_save.c
index 1a3faa02a..99d412f50 100644
--- a/src/song_save.c
+++ b/src/song_save.c
@@ -57,7 +57,7 @@ song_save(struct song *song, void *data)
return 0;
}
-void songvec_save(FILE *fp, struct songvec *sv)
+void songvec_save(FILE *fp, const struct songvec *sv)
{
songvec_for_each(sv, song_save, fp);
}