diff options
author | Max Kellermann <max@duempel.org> | 2012-08-02 18:15:49 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-02 19:12:18 +0200 |
commit | 8e331cfc65b6817a147dfaac4d9c4d01414782ac (patch) | |
tree | 5a67ed93b37e98a3164b693da1f7e5a140dbecee /src/update_archive.h | |
parent | edf811fa0271da729e9962e3976f2a68ac35a395 (diff) | |
download | mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.tar.gz mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.tar.xz mpd-8e331cfc65b6817a147dfaac4d9c4d01414782ac.zip |
gcc.h: re-add gcc_const and gcc_pure
Remove GLib dependency from some headers.
Diffstat (limited to '')
-rw-r--r-- | src/update_archive.h | 9 |
1 files changed, 5 insertions, 4 deletions
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 <stdbool.h> #include <sys/stat.h> @@ -40,10 +41,10 @@ update_archive_file(struct directory *directory, #include <glib.h> 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; } |