aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag/TagInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-05 18:34:12 +0200
committerMax Kellermann <max@duempel.org>2013-09-05 18:34:12 +0200
commit5d5f21bfc5911f9f80b3e24871287ac58db9543f (patch)
tree3f218719baec92da5264266ffe33e313b82e43b9 /src/tag/TagInternal.hxx
parentfcccedc5884a672eb66221d66fdda4755b4286ba (diff)
downloadmpd-5d5f21bfc5911f9f80b3e24871287ac58db9543f.tar.gz
mpd-5d5f21bfc5911f9f80b3e24871287ac58db9543f.tar.xz
mpd-5d5f21bfc5911f9f80b3e24871287ac58db9543f.zip
Tag: compile-time initialisation of ignore_tag_items
Move to TagSettings.c and use C99 initializers.
Diffstat (limited to '')
-rw-r--r--src/tag/TagSettings.h (renamed from src/tag/TagInternal.hxx)6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tag/TagInternal.hxx b/src/tag/TagSettings.h
index 8172d1319..245de2df5 100644
--- a/src/tag/TagInternal.hxx
+++ b/src/tag/TagSettings.h
@@ -17,11 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_TAG_INTERNAL_HXX
-#define MPD_TAG_INTERNAL_HXX
+#ifndef MPD_TAG_SETTINGS_H
+#define MPD_TAG_SETTINGS_H
#include "TagType.h"
+#include <stdbool.h>
+
extern bool ignore_tag_items[TAG_NUM_OF_ITEM_TYPES];
#endif