const pointers

The usual bunch of pointer arguments which should be const.
This commit is contained in:
Max Kellermann
2008-08-28 20:02:17 +02:00
parent 801c71ed1c
commit bc1c8835c6
6 changed files with 16 additions and 16 deletions

View File

@@ -73,7 +73,7 @@ void clearItemsFromMpdTag(MpdTag * tag, enum tag_type itemType);
void freeMpdTag(MpdTag * tag);
void addItemToMpdTagWithLen(MpdTag * tag, enum tag_type itemType,
char *value, size_t len);
const char *value, size_t len);
#define addItemToMpdTag(tag, itemType, value) \
addItemToMpdTagWithLen(tag, itemType, value, strlen(value))