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/client_file.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client_file.h') diff --git a/src/client_file.h b/src/client_file.h index 3dcbe7500..439235739 100644 --- a/src/client_file.h +++ b/src/client_file.h @@ -20,7 +20,9 @@ #ifndef MPD_CLIENT_FILE_H #define MPD_CLIENT_FILE_H -#include +#include "gcc.h" +#include "gerror.h" + #include struct client; @@ -35,7 +37,7 @@ struct client; * @param path_fs the absolute path name in filesystem encoding * @return true if access is allowed */ -G_GNUC_PURE +gcc_pure bool client_allow_file(const struct client *client, const char *path_fs, GError **error_r); -- cgit v1.2.3