aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tag/TagNames.c2
-rw-r--r--src/tag/TagType.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tag/TagNames.c b/src/tag/TagNames.c
index 2e318f913..eac6fc59a 100644
--- a/src/tag/TagNames.c
+++ b/src/tag/TagNames.c
@@ -20,7 +20,7 @@
#include "config.h"
#include "TagType.h"
-const char *tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
+const char *const tag_item_names[TAG_NUM_OF_ITEM_TYPES] = {
[TAG_ARTIST] = "Artist",
[TAG_ARTIST_SORT] = "ArtistSort",
[TAG_ALBUM] = "Album",
diff --git a/src/tag/TagType.h b/src/tag/TagType.h
index 7a1d351a5..8df595889 100644
--- a/src/tag/TagType.h
+++ b/src/tag/TagType.h
@@ -51,6 +51,6 @@ enum tag_type {
* An array of strings, which map the #tag_type to its machine
* readable name (specific to the MPD protocol).
*/
-extern const char *tag_item_names[];
+extern const char *const tag_item_names[];
#endif