Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
57a4700f
Commit
57a4700f
authored
Sep 05, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TagNames: make tag_item_names const
parent
2b676dc5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TagNames.c
src/tag/TagNames.c
+1
-1
TagType.h
src/tag/TagType.h
+1
-1
No files found.
src/tag/TagNames.c
View file @
57a4700f
...
...
@@ -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"
,
...
...
src/tag/TagType.h
View file @
57a4700f
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment