diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/song.c | 2 | ||||
-rw-r--r-- | src/song.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c index a32d3920f..2de9e52c7 100644 --- a/src/song.c +++ b/src/song.c @@ -122,7 +122,7 @@ song_file_update(struct song *song) } char * -song_get_url(struct song *song, char *path_max_tmp) +song_get_url(const struct song *song, char *path_max_tmp) { assert(song != NULL); assert(*song->url); diff --git a/src/song.h b/src/song.h index f1e889216..7d174c51e 100644 --- a/src/song.h +++ b/src/song.h @@ -65,7 +65,7 @@ song_file_update(struct song *song); * terminating '\0'). */ char * -song_get_url(struct song *song, char *path_max_tmp); +song_get_url(const struct song *song, char *path_max_tmp); static inline bool song_is_file(const struct song *song) |