diff options
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 315554a4c..f07d166c5 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -297,16 +297,6 @@ void rspamd_rwlock_reader_unlock (rspamd_rwlock_t *mtx); */ void rspamd_rwlock_free (rspamd_rwlock_t *mtx); -static inline void -rspamd_cond_wait (GCond *cond, rspamd_mutex_t *mtx) -{ -#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION > 30)) - g_cond_wait (cond, &mtx->mtx); -#else - g_cond_wait (cond, g_static_mutex_get_mutex (&mtx->mtx)); -#endif -} - /** * Create new named thread * @param name name pattern |