aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-24 11:40:25 +0200
committerMax Kellermann <max@duempel.org>2015-08-24 11:40:25 +0200
commitf3661b19c08ecfce952ab6db25cf27f346cb3b7f (patch)
tree49eb4d0a8f60172f57c6e34664ac7ca070f68ea3 /src
parent2f5106c97f7c3c198650b1b6951b71c5d492aaa7 (diff)
downloadmpd-f3661b19c08ecfce952ab6db25cf27f346cb3b7f.tar.gz
mpd-f3661b19c08ecfce952ab6db25cf27f346cb3b7f.tar.xz
mpd-f3661b19c08ecfce952ab6db25cf27f346cb3b7f.zip
tag/Settings: move typedef tag_mask_t to Mask.hxx
Diffstat (limited to '')
-rw-r--r--src/tag/Mask.hxx27
-rw-r--r--src/tag/Settings.hxx3
2 files changed, 28 insertions, 2 deletions
diff --git a/src/tag/Mask.hxx b/src/tag/Mask.hxx
new file mode 100644
index 000000000..9576d56e7
--- /dev/null
+++ b/src/tag/Mask.hxx
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
+ * http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPD_TAG_MASK_HXX
+#define MPD_TAG_MASK_HXX
+
+#include <stdint.h>
+
+typedef uint_least32_t tag_mask_t;
+
+#endif
diff --git a/src/tag/Settings.hxx b/src/tag/Settings.hxx
index 42d0dc684..332454b8f 100644
--- a/src/tag/Settings.hxx
+++ b/src/tag/Settings.hxx
@@ -20,13 +20,12 @@
#ifndef MPD_TAG_SETTINGS_HXX
#define MPD_TAG_SETTINGS_HXX
+#include "Mask.hxx"
#include "TagType.h"
#include "Compiler.h"
#include <stdint.h>
-typedef uint_least32_t tag_mask_t;
-
extern tag_mask_t global_tag_mask;
gcc_const