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/update_archive.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/update_archive.h') diff --git a/src/update_archive.h b/src/update_archive.h index 838697dd9..a9139b0e0 100644 --- a/src/update_archive.h +++ b/src/update_archive.h @@ -21,6 +21,7 @@ #define MPD_UPDATE_ARCHIVE_H #include "check.h" +#include "gcc.h" #include #include @@ -40,10 +41,10 @@ update_archive_file(struct directory *directory, #include static inline bool -update_archive_file(G_GNUC_UNUSED struct directory *directory, - G_GNUC_UNUSED const char *name, - G_GNUC_UNUSED const char *suffix, - G_GNUC_UNUSED const struct stat *st) +update_archive_file(gcc_unused struct directory *directory, + gcc_unused const char *name, + gcc_unused const char *suffix, + gcc_unused const struct stat *st) { return false; } -- cgit v1.2.3