aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmpdclient.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-16 19:11:39 +0200
committerMax Kellermann <max@duempel.org>2008-09-16 19:11:39 +0200
commit1f2d9cc479945e1c05021b6547a2665c87e2cafe (patch)
tree6b1615fdc0679ce85b4955c1893e90bd7fb61f72 /src/libmpdclient.h
parent995f5d3e3b6b7f35e44dfe050b7741b67ce13014 (diff)
downloadmpd-1f2d9cc479945e1c05021b6547a2665c87e2cafe.tar.gz
mpd-1f2d9cc479945e1c05021b6547a2665c87e2cafe.tar.xz
mpd-1f2d9cc479945e1c05021b6547a2665c87e2cafe.zip
libmpdclient: const pointers
Pass const pointers whenever possible.
Diffstat (limited to '')
-rw-r--r--src/libmpdclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmpdclient.h b/src/libmpdclient.h
index fe1991edc..1f044aabb 100644
--- a/src/libmpdclient.h
+++ b/src/libmpdclient.h
@@ -295,7 +295,7 @@ void mpd_freeSong(mpd_Song * song);
/* mpd_songDup
* works like strDup, but for a mpd_Song
*/
-mpd_Song * mpd_songDup(mpd_Song * song);
+mpd_Song * mpd_songDup(const mpd_Song * song);
/* DIRECTORY STUFF */