summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h6
1 files changed, 3 insertions, 3 deletions
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 @@
8 8
9#include <sys/uio.h> 9#include <sys/uio.h>
10 10
11void mutex_init( ); 11void mutex_init( void );
12void mutex_deinit( ); 12void mutex_deinit( void );
13 13
14ot_vector *mutex_bucket_lock( int bucket ); 14ot_vector *mutex_bucket_lock( int bucket );
15ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); 15ot_vector *mutex_bucket_lock_by_hash( ot_hash hash );
@@ -17,7 +17,7 @@ ot_vector *mutex_bucket_lock_by_hash( ot_hash hash );
17void mutex_bucket_unlock( int bucket, int delta_torrentcount ); 17void mutex_bucket_unlock( int bucket, int delta_torrentcount );
18void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); 18void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount );
19 19
20size_t mutex_get_torrent_count(); 20size_t mutex_get_torrent_count(void);
21 21
22typedef enum { 22typedef enum {
23 TASK_STATS_CONNS = 0x0001, 23 TASK_STATS_CONNS = 0x0001,