aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePlugin.hxx
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/DatabasePlugin.hxx
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/DatabasePlugin.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx
index 45a8c55bf..71ad88ac5 100644
--- a/src/DatabasePlugin.hxx
+++ b/src/DatabasePlugin.hxx
@@ -27,10 +27,7 @@
#define MPD_DATABASE_PLUGIN_HXX
#include "DatabaseVisitor.hxx"
-
-#include <glib.h>
-#include <assert.h>
-#include <stdbool.h>
+#include "gcc.h"
struct config_param;
struct db_selection;
@@ -46,7 +43,7 @@ public:
/**
* Open the database. Read it into memory if applicable.
*/
- virtual bool Open(G_GNUC_UNUSED GError **error_r) {
+ virtual bool Open(gcc_unused GError **error_r) {
return true;
}