From 524d78d6c7552cd4c44be7cea1ccc7cdbb11b490 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 5 Apr 2024 16:30:02 +0200 Subject: constify --- ot_mutex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_mutex.h') 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 ); void mutex_deinit( void ); ot_vector *mutex_bucket_lock( int bucket ); -ot_vector *mutex_bucket_lock_by_hash( ot_hash hash ); +ot_vector *mutex_bucket_lock_by_hash( ot_hash const hash ); void mutex_bucket_unlock( int bucket, int delta_torrentcount ); -void mutex_bucket_unlock_by_hash( ot_hash hash, int delta_torrentcount ); +void mutex_bucket_unlock_by_hash( ot_hash const hash, int delta_torrentcount ); size_t mutex_get_torrent_count(void); -- cgit v1.2.3