summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4a47d5)
raw | patch | inline | side by side (parent: f4a47d5)
author | Max Kellermann <max@duempel.org> | |
Mon, 24 Aug 2009 22:43:48 +0000 (00:43 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Mon, 24 Aug 2009 22:43:48 +0000 (00:43 +0200) |
src/mpdclient.c | patch | blob | history | |
src/mpdclient.h | patch | blob | history |
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 5f4632613632183bfb5c487c2589d5a60fa53202..a4224a68cd3183ffe8826aa0f1e9af11f3269e13 100644 (file)
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
}
gint
-mpdclient_cmd_add(mpdclient_t *c, struct mpd_song *song)
+mpdclient_cmd_add(mpdclient_t *c, const struct mpd_song *song)
{
gint retval = 0;
diff --git a/src/mpdclient.h b/src/mpdclient.h
index 42aa17c6877184e31a249f3a90e93139cae56d37..1abe2f6bc7ab1350b8f04f04e5d024daf7919245 100644 (file)
--- a/src/mpdclient.h
+++ b/src/mpdclient.h
gint mpdclient_cmd_volume_down(struct mpdclient *c);
gint mpdclient_cmd_add_path(mpdclient_t *c, const gchar *path);
-gint mpdclient_cmd_add(mpdclient_t *c, struct mpd_song *song);
+gint mpdclient_cmd_add(mpdclient_t *c, const struct mpd_song *song);
gint mpdclient_cmd_delete(mpdclient_t *c, gint index);
gint mpdclient_cmd_move(mpdclient_t *c, gint old_index, gint new_index);