diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-19 14:37:02 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-22 16:20:53 +0200 |
commit | 2aab75d5fddc126e8085c70fe8e1b875b75a30ef (patch) | |
tree | 82498955ff2b3829d6597ed88a9eca1b1705df96 /ACE/ace/RW_Process_Mutex.inl | |
parent | 5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff) | |
download | ATCD-2aab75d5fddc126e8085c70fe8e1b875b75a30ef.tar.gz |
Part 2: Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/ace/RW_Process_Mutex.inl')
-rw-r--r-- | ACE/ace/RW_Process_Mutex.inl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ACE/ace/RW_Process_Mutex.inl b/ACE/ace/RW_Process_Mutex.inl index a82d6f61cdf..22720738c78 100644 --- a/ACE/ace/RW_Process_Mutex.inl +++ b/ACE/ace/RW_Process_Mutex.inl @@ -3,63 +3,63 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Explicitly destroy the mutex. ACE_INLINE int -ACE_RW_Process_Mutex::remove (void) +ACE_RW_Process_Mutex::remove () { return this->lock_.remove (); } // Acquire lock ownership (wait on priority queue if necessary). ACE_INLINE int -ACE_RW_Process_Mutex::acquire (void) +ACE_RW_Process_Mutex::acquire () { return this->lock_.acquire (); } // Conditionally acquire lock (i.e., don't wait on queue). ACE_INLINE int -ACE_RW_Process_Mutex::tryacquire (void) +ACE_RW_Process_Mutex::tryacquire () { return this->lock_.tryacquire (); } // Release lock and unblock a thread at head of priority queue. ACE_INLINE int -ACE_RW_Process_Mutex::release (void) +ACE_RW_Process_Mutex::release () { return this->lock_.release (); } // Acquire lock ownership (wait on priority queue if necessary). ACE_INLINE int -ACE_RW_Process_Mutex::acquire_read (void) +ACE_RW_Process_Mutex::acquire_read () { return this->lock_.acquire_read (); } // Acquire lock ownership (wait on priority queue if necessary). ACE_INLINE int -ACE_RW_Process_Mutex::acquire_write (void) +ACE_RW_Process_Mutex::acquire_write () { return this->lock_.acquire_write (); } // Conditionally acquire a lock (i.e., won't block). ACE_INLINE int -ACE_RW_Process_Mutex::tryacquire_read (void) +ACE_RW_Process_Mutex::tryacquire_read () { return this->lock_.tryacquire_read (); } // Conditionally acquire a lock (i.e., won't block). ACE_INLINE int -ACE_RW_Process_Mutex::tryacquire_write (void) +ACE_RW_Process_Mutex::tryacquire_write () { return this->lock_.tryacquire_write (); } // Conditionally upgrade a lock (i.e., won't block). ACE_INLINE int -ACE_RW_Process_Mutex::tryacquire_write_upgrade (void) +ACE_RW_Process_Mutex::tryacquire_write_upgrade () { return this->lock_.tryacquire_write_upgrade (); } |