diff options
Diffstat (limited to '')
-rw-r--r-- | src/song_save.c | 2 | ||||
-rw-r--r-- | src/song_save.h | 3 |
2 files changed, 3 insertions, 2 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); } diff --git a/src/song_save.h b/src/song_save.h index 9f3006515..0be36feca 100644 --- a/src/song_save.h +++ b/src/song_save.h @@ -29,7 +29,8 @@ struct songvec; struct directory; -void songvec_save(FILE *fp, struct songvec *sv); +void +songvec_save(FILE *fp, const struct songvec *sv); /** * Loads a song from the input file. Reading stops after the |