*: use gcc.h macros instead of GLib

This commit is contained in:
Max Kellermann
2013-08-04 23:48:01 +02:00
parent 5bf2ec5a74
commit 85b77b81ca
98 changed files with 369 additions and 349 deletions

View File

@@ -28,6 +28,7 @@
#include "check.h"
#include "thread/Mutex.hxx"
#include "gcc.h"
#include <glib.h>
#include <assert.h>
@@ -41,7 +42,7 @@ extern GThread *db_mutex_holder;
/**
* Does the current thread hold the database lock?
*/
G_GNUC_PURE
gcc_pure
static inline bool
holding_db_lock(void)
{