aboutsummaryrefslogtreecommitdiffstats
path: root/src/client_file.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/client_file.h
parentedf811fa0271da729e9962e3976f2a68ac35a395 (diff)
downloadmpd-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/client_file.h6
1 files changed, 4 insertions, 2 deletions
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 <glib.h>
+#include "gcc.h"
+#include "gerror.h"
+
#include <stdbool.h>
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);