diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-05 16:30:02 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2024-04-05 16:30:02 +0200 |
| commit | 524d78d6c7552cd4c44be7cea1ccc7cdbb11b490 (patch) | |
| tree | fb2de9f3255e9e3a05cf91438eeba7d5c4265251 /ot_mutex.h | |
| parent | 64e25b681c4668577fa54ead3215442ad707440d (diff) | |
constify
Diffstat (limited to 'ot_mutex.h')
| -rw-r--r-- | ot_mutex.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -12,10 +12,10 @@ void mutex_init( void ); | |||
| 12 | void mutex_deinit( void ); | 12 | void mutex_deinit( void ); |
| 13 | 13 | ||
| 14 | ot_vector *mutex_bucket_lock( int bucket ); | 14 | ot_vector *mutex_bucket_lock( int bucket ); |
| 15 | ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); | 15 | ot_vector *mutex_bucket_lock_by_hash( ot_hash const hash ); |
| 16 | 16 | ||
| 17 | void mutex_bucket_unlock( int bucket, int delta_torrentcount ); | 17 | void mutex_bucket_unlock( int bucket, int delta_torrentcount ); |
| 18 | void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); | 18 | void mutex_bucket_unlock_by_hash( ot_hash const hash, int delta_torrentcount ); |
| 19 | 19 | ||
| 20 | size_t mutex_get_torrent_count(void); | 20 | size_t mutex_get_torrent_count(void); |
| 21 | 21 | ||
