aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index d569e9be7..ab81a28a5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1351,7 +1351,7 @@ rspamd_fallocate (gint fd, off_t offset, off_t len)
* @return mutex or NULL
*/
inline rspamd_mutex_t*
-rspamd_mutex_new ()
+rspamd_mutex_new (void)
{
rspamd_mutex_t *new;
@@ -1398,7 +1398,7 @@ rspamd_mutex_unlock (rspamd_mutex_t *mtx)
* @return
*/
rspamd_rwlock_t*
-rspamd_rwlock_new ()
+rspamd_rwlock_new (void)
{
rspamd_rwlock_t *new;