From 8e331cfc65b6817a147dfaac4d9c4d01414782ac Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Aug 2012 18:15:49 +0200 Subject: gcc.h: re-add gcc_const and gcc_pure Remove GLib dependency from some headers. --- src/tag_id3.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/tag_id3.h') 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 - #include 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; } -- cgit v1.2.3