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/DatabasePlugin.hxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/DatabasePlugin.hxx') diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx index 45a8c55b..71ad88ac 100644 --- a/src/DatabasePlugin.hxx +++ b/src/DatabasePlugin.hxx @@ -27,10 +27,7 @@ #define MPD_DATABASE_PLUGIN_HXX #include "DatabaseVisitor.hxx" - -#include -#include -#include +#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; } -- cgit v1.2.3