aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 20:52:41 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-06-05 20:52:41 +0400
commit8a6fa6ab3b3807d525967f08e8178f168237eeda (patch)
treeb81ab87319409c75bb2327829ebe1cffdde42009 /src/util.h
parentee97d0365907a159901c3cb47f9e4a2f5bdd61d6 (diff)
downloadrspamd-8a6fa6ab3b3807d525967f08e8178f168237eeda.tar.gz
rspamd-8a6fa6ab3b3807d525967f08e8178f168237eeda.zip
Strict prototypes.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 0d9834a76..1db0166d9 100644
--- a/src/util.h
+++ b/src/util.h
@@ -251,7 +251,7 @@ typedef struct rspamd_rwlock_s {
* Create new mutex
* @return mutex or NULL
*/
-rspamd_mutex_t* rspamd_mutex_new ();
+rspamd_mutex_t* rspamd_mutex_new (void);
/**
* Lock mutex
@@ -269,7 +269,7 @@ void rspamd_mutex_unlock (rspamd_mutex_t *mtx);
* Create new rwloc
* @return
*/
-rspamd_rwlock_t* rspamd_rwlock_new ();
+rspamd_rwlock_t* rspamd_rwlock_new (void);
/**
* Lock rwlock for writing