aboutsummaryrefslogtreecommitdiff
path: root/src/tag_table.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 22:53:12 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 22:53:12 +0100
commit5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8 (patch)
tree32094f443903b1c128f2336278f120f896091001 /src/tag_table.h
parent378ebad1c8d7079b41319600f13c1c884d6c693a (diff)
TagPool, ...: include cleanup
Diffstat (limited to 'src/tag_table.h')
-rw-r--r--src/tag_table.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tag_table.h b/src/tag_table.h
index d87d4869..8e2172c1 100644
--- a/src/tag_table.h
+++ b/src/tag_table.h
@@ -21,6 +21,7 @@
#define MPD_TAG_TABLE_H
#include "tag.h"
+#include "gcc.h"
#include <glib.h>
@@ -35,7 +36,7 @@ struct tag_table {
* Returns TAG_NUM_OF_ITEM_TYPES if the specified name was not found
* in the table.
*/
-G_GNUC_PURE
+gcc_pure
static inline enum tag_type
tag_table_lookup(const struct tag_table *table, const char *name)
{
@@ -51,7 +52,7 @@ tag_table_lookup(const struct tag_table *table, const char *name)
* Returns TAG_NUM_OF_ITEM_TYPES if the specified name was not found
* in the table.
*/
-G_GNUC_PURE
+gcc_pure
static inline enum tag_type
tag_table_lookup_i(const struct tag_table *table, const char *name)
{