diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 15:20:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 15:20:18 +0200 |
commit | 38fdf10851fae4204b0be424c0b79ee9271033b2 (patch) | |
tree | bce8818dd19fb95280e557ff5645585f19cb0fea /src/strfsong.c | |
parent | 7db42801fd3cbcb8d05ca7bd7ad9570a3071b378 (diff) | |
download | mpd-38fdf10851fae4204b0be424c0b79ee9271033b2.tar.gz mpd-38fdf10851fae4204b0be424c0b79ee9271033b2.tar.xz mpd-38fdf10851fae4204b0be424c0b79ee9271033b2.zip |
strfsong: constant pointers
Pass constant pointers to strfsong() and screen_lyrics_load().
Diffstat (limited to 'src/strfsong.c')
-rw-r--r-- | src/strfsong.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |