From 79864c6ec22370ae31d3259a17e0c93db3cdae61 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 3 May 2022 22:54:33 -0400 Subject: add const to const * strings I don't think this will amke any difference except maybe for hosted ports Change-Id: I84f898aea92a6963901a6d889dd18b63f24c9a41 --- apps/tagcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/tagcache.c') diff --git a/apps/tagcache.c b/apps/tagcache.c index b6d15e7a1f..436d85812b 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c @@ -137,7 +137,7 @@ static int tempbuf_handle; (1LU << tag_virt_canonicalartist)) /* String presentation of the tags defined in tagcache.h. Must be in correct order! */ -static const char *tags_str[] = { "artist", "album", "genre", "title", +static const char * const tags_str[] = { "artist", "album", "genre", "title", "filename", "composer", "comment", "albumartist", "grouping", "year", "discnumber", "tracknumber", "canonicalartist", "bitrate", "length", "playcount", "rating", "playtime", "lastplayed", "commitid", "mtime", @@ -151,7 +151,7 @@ static const char *tags_str[] = { "artist", "album", "genre", "title", "tag_virt_entryage", "tag_virt_autoscore" }; /* more debug strings */ -static const char *tag_type_str[] = { +static const char * const tag_type_str[] = { [clause_none] = "clause_none", [clause_is] = "clause_is", [clause_is_not] = "clause_is_not", [clause_gt] = "clause_gt", [clause_gteq] = "clause_gteq", [clause_lt] = "clause_lt", -- cgit v1.2.3