aboutsummaryrefslogtreecommitdiff
path: root/src/tag_id3.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-02 18:15:49 +0200
committerMax Kellermann <max@duempel.org>2012-08-02 19:12:18 +0200
commit8e331cfc65b6817a147dfaac4d9c4d01414782ac (patch)
tree5a67ed93b37e98a3164b693da1f7e5a140dbecee /src/tag_id3.h
parentedf811fa0271da729e9962e3976f2a68ac35a395 (diff)
gcc.h: re-add gcc_const and gcc_pure
Remove GLib dependency from some headers.
Diffstat (limited to 'src/tag_id3.h')
-rw-r--r--src/tag_id3.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tag_id3.h b/src/tag_id3.h
index 055d0a3d..473e3384 100644
--- a/src/tag_id3.h
+++ b/src/tag_id3.h
@@ -21,10 +21,9 @@
#define MPD_TAG_ID3_H
#include "check.h"
+#include "gcc.h"
#include "gerror.h"
-#include <glib.h>
-
#include <stdbool.h>
struct tag_handler;
@@ -52,9 +51,9 @@ tag_id3_load(const char *path_fs, GError **error_r);
#else
static inline bool
-tag_id3_scan(G_GNUC_UNUSED const char *path_fs,
- G_GNUC_UNUSED const struct tag_handler *handler,
- G_GNUC_UNUSED void *handler_ctx)
+tag_id3_scan(gcc_unused const char *path_fs,
+ gcc_unused const struct tag_handler *handler,
+ gcc_unused void *handler_ctx)
{
return false;
}