diff options
Diffstat (limited to '')
-rw-r--r-- | src/screen_lyrics.c | 2 | ||||
-rw-r--r-- | src/strfsong.c | 5 | ||||
-rw-r--r-- | src/strfsong.h | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c index ec552ee33..dbfe4ea6f 100644 --- a/src/screen_lyrics.c +++ b/src/screen_lyrics.c @@ -164,7 +164,7 @@ screen_lyrics_callback(const GString *result, mpd_unused void *data) } static void -screen_lyrics_load(struct mpd_song *song) +screen_lyrics_load(const struct mpd_song *song) { char buffer[MAX_SONGNAME_LENGTH]; diff --git a/src/strfsong.c b/src/strfsong.c index 523c30da2..f6b67930e 100644 --- a/src/strfsong.c +++ b/src/strfsong.c @@ -54,7 +54,7 @@ static gsize _strfsong(gchar *s, gsize max, const gchar *format, - mpd_Song *song, + const struct mpd_song *song, const gchar **last) { const gchar *p, *end; @@ -216,7 +216,8 @@ _strfsong(gchar *s, } gsize -strfsong(gchar *s, gsize max, const gchar *format, mpd_Song *song) +strfsong(gchar *s, gsize max, const gchar *format, + const struct mpd_song *song) { return _strfsong(s, max, format, song, NULL); } diff --git a/src/strfsong.h b/src/strfsong.h index 7c0361d9c..7770a8698 100644 --- a/src/strfsong.h +++ b/src/strfsong.h @@ -4,6 +4,7 @@ #include <glib.h> #include "libmpdclient.h" -gsize strfsong(gchar *s, gsize max, const gchar *format, mpd_Song *song); +gsize strfsong(gchar *s, gsize max, const gchar *format, + const struct mpd_song *song); #endif |