diff options
Diffstat (limited to 'src/libmpdclient.h')
-rw-r--r-- | src/libmpdclient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmpdclient.h b/src/libmpdclient.h index 437951b31..fe1991edc 100644 --- a/src/libmpdclient.h +++ b/src/libmpdclient.h @@ -91,7 +91,7 @@ typedef enum mpd_TagItems 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 { @@ -498,7 +498,7 @@ void mpd_sendVolumeCommand(mpd_Connection * connection, int volumeChange); 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); |