gcc.h: re-add gcc_const and gcc_pure

Remove GLib dependency from some headers.
This commit is contained in:
Max Kellermann
2012-08-02 18:15:49 +02:00
parent edf811fa02
commit 8e331cfc65
28 changed files with 124 additions and 93 deletions

View File

@@ -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;
}