aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-14 11:10:44 +0200
committerMax Kellermann <max@duempel.org>2008-10-14 11:10:44 +0200
commit308bc230b241757088668d65aafcea4575a52e9c (patch)
tree20861e758dfe22f1a62bca4c8b8ba2e22551e96d /src/song.h
parent06c8a9ed0b1a01343d21859bff22ae67f4b29021 (diff)
downloadmpd-308bc230b241757088668d65aafcea4575a52e9c.tar.gz
mpd-308bc230b241757088668d65aafcea4575a52e9c.tar.xz
mpd-308bc230b241757088668d65aafcea4575a52e9c.zip
song: pass const song pointer to song_get_url()
song_get_url() doesn't modify the song object.
Diffstat (limited to '')
-rw-r--r--src/song.h2
1 files changed, 1 insertions, 1 deletions
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)