From be825f57597b0e9dcf07d257e93f03e30935f7db Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Thu, 24 Nov 2022 04:20:06 +0100 Subject: Add support for dynamic accesslists --- ot_mutex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ot_mutex.h') diff --git a/ot_mutex.h b/ot_mutex.h index bd07009..93c1ecf 100644 --- a/ot_mutex.h +++ b/ot_mutex.h @@ -8,8 +8,8 @@ #include -void mutex_init( ); -void mutex_deinit( ); +void mutex_init( void ); +void mutex_deinit( void ); ot_vector *mutex_bucket_lock( int bucket ); ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); @@ -17,7 +17,7 @@ ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); void mutex_bucket_unlock( int bucket, int delta_torrentcount ); void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); -size_t mutex_get_torrent_count(); +size_t mutex_get_torrent_count(void); typedef enum { TASK_STATS_CONNS = 0x0001, -- cgit v1.2.3