From 308bc230b241757088668d65aafcea4575a52e9c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 14 Oct 2008 11:10:44 +0200 Subject: song: pass const song pointer to song_get_url() song_get_url() doesn't modify the song object. --- src/song.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index f1e88921..7d174c51 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) -- cgit v1.2.3