aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-04 20:10:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-04 20:10:22 +0100
commitdd1ef3fa2b6585a39128ab7fc719f241c7334bb4 (patch)
treea6ad873f33d7bea50d9b5cfb15736d3fa445366e /src/libutil/util.h
parent1167280f59e7910768787c5c59eb5c92b900d3f0 (diff)
downloadrspamd-dd1ef3fa2b6585a39128ab7fc719f241c7334bb4.tar.gz
rspamd-dd1ef3fa2b6585a39128ab7fc719f241c7334bb4.zip
[Minor] Remove unused function
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h10
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