summaryrefslogtreecommitdiff
path: root/ot_mutex.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-05 16:30:02 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-05 16:30:02 +0200
commit524d78d6c7552cd4c44be7cea1ccc7cdbb11b490 (patch)
treefb2de9f3255e9e3a05cf91438eeba7d5c4265251 /ot_mutex.h
parent64e25b681c4668577fa54ead3215442ad707440d (diff)
constify
Diffstat (limited to 'ot_mutex.h')
-rw-r--r--ot_mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_mutex.h b/ot_mutex.h
index 8d64cf6..fdb08a1 100644
--- a/ot_mutex.h
+++ b/ot_mutex.h
@@ -12,10 +12,10 @@ void mutex_init( void );
12void mutex_deinit( void ); 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 const hash );
16 16
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 const hash, int delta_torrentcount );
19 19
20size_t mutex_get_torrent_count(void); 20size_t mutex_get_torrent_count(void);
21 21