diff --git a/src/libmpdclient.h b/src/libmpdclient.h
index 437951b31069de465928d22e0f0308c71fffe231..fe1991edc28f1f63d03e991b1e5ba0be8001fb8b 100644 (file)
--- a/src/libmpdclient.h
+++ b/src/libmpdclient.h
MPD_TAG_NUM_OF_ITEM_TYPES
}mpd_TagItems;
-extern char * mpdTagItemKeys[MPD_TAG_NUM_OF_ITEM_TYPES];
+extern const char *const mpdTagItemKeys[MPD_TAG_NUM_OF_ITEM_TYPES];
/* internal stuff don't touch this struct */
typedef struct _mpd_ReturnElement {
void mpd_sendCrossfadeCommand(mpd_Connection * connection, int seconds);
-void mpd_sendUpdateCommand(mpd_Connection * connection, char * path);
+void mpd_sendUpdateCommand(mpd_Connection * connection, const char *path);
/* returns the update job id, call this after a update command*/
int mpd_getUpdateId(mpd_Connection * connection);