diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-09 12:39:57 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-09 12:39:57 +0100 |
commit | 6f91193f0b537d437645ae9e10823a519f547888 (patch) | |
tree | 224ad9643523a625196045f37ead1a4e73ddc1f9 /ACE/ace/Guard_T.h | |
parent | fb7e13241cc5ebd590e32ec4343a75d53691cda6 (diff) | |
download | ATCD-6f91193f0b537d437645ae9e10823a519f547888.tar.gz |
Removed redundant void
Diffstat (limited to 'ACE/ace/Guard_T.h')
-rw-r--r-- | ACE/ace/Guard_T.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/ACE/ace/Guard_T.h b/ACE/ace/Guard_T.h index 03fa8dba9bf..b90de0bced4 100644 --- a/ACE/ace/Guard_T.h +++ b/ACE/ace/Guard_T.h @@ -80,33 +80,33 @@ public: ACE_Guard (ACE_LOCK &l, bool block, int become_owner); /// Implicitly release the lock. - ~ACE_Guard (void); + ~ACE_Guard (); // = Lock accessors. /// Explicitly acquire the lock. - int acquire (void); + int acquire (); /// Conditionally acquire the lock (i.e., won't block). - int tryacquire (void); + int tryacquire (); /// Explicitly release the lock, but only if it is held! - int release (void); + int release (); /// Relinquish ownership of the lock so that it is not released /// implicitly in the destructor. - void disown (void); + void disown (); // = Utility methods. /// true if locked, false if couldn't acquire the lock /// (errno will contain the reason for this). - bool locked (void) const; + bool locked () const; /// Explicitly remove the lock. - int remove (void); + int remove (); /// Dump the state of an object. - void dump (void) const; + void dump () const; // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. @@ -152,21 +152,21 @@ public: // = Lock accessors. /// Explicitly acquire the write lock. - int acquire_write (void); + int acquire_write (); /// Explicitly acquire the write lock. - int acquire (void); + int acquire (); /// Conditionally acquire the write lock (i.e., won't block). - int tryacquire_write (void); + int tryacquire_write (); /// Conditionally acquire the write lock (i.e., won't block). - int tryacquire (void); + int tryacquire (); // = Utility methods. /// Dump the state of an object. - void dump (void) const; + void dump () const; // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. @@ -196,21 +196,21 @@ public: // = Lock accessors. /// Explicitly acquire the read lock. - int acquire_read (void); + int acquire_read (); /// Explicitly acquire the read lock. - int acquire (void); + int acquire (); /// Conditionally acquire the read lock (i.e., won't block). - int tryacquire_read (void); + int tryacquire_read (); /// Conditionally acquire the read lock (i.e., won't block). - int tryacquire (void); + int tryacquire (); // = Utility methods. /// Dump the state of an object. - void dump (void) const; + void dump () const; // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. @@ -242,36 +242,36 @@ public: ACE_TSS_Guard (ACE_LOCK &lock, bool block = true); /// Implicitly release the thread-specific lock. - ~ACE_TSS_Guard (void); + ~ACE_TSS_Guard (); // = Lock accessors. /// Explicitly acquire the thread-specific lock. - int acquire (void); + int acquire (); /// Conditionally acquire the thread-specific lock (i.e., won't /// block). - int tryacquire (void); + int tryacquire (); /// Explicitly release the thread-specific lock. - int release (void); + int release (); // = Utility methods. /// Explicitly release the thread-specific lock. - int remove (void); + int remove (); /// Dump the state of an object. - void dump (void) const; + void dump () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; protected: /// Helper, meant for subclass only. - ACE_TSS_Guard (void); + ACE_TSS_Guard (); /// Initialize the key. - void init_key (void); + void init_key (); /// Called when thread exits to clean up the lock. static void cleanup (void *ptr); @@ -306,21 +306,21 @@ public: // = Lock accessors. /// Explicitly acquire the thread-specific write lock. - int acquire_write (void); + int acquire_write (); /// Explicitly acquire the thread-specific write lock. - int acquire (void); + int acquire (); /// Conditionally acquire the thread-specific write lock (i.e., won't block). - int tryacquire_write (void); + int tryacquire_write (); /// Conditionally acquire the thread-specific write lock (i.e., won't block). - int tryacquire (void); + int tryacquire (); // = Utility methods. /// Dump the state of an object. - void dump (void) const; + void dump () const; // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. @@ -348,22 +348,22 @@ public: // = Lock accessors. /// Explicitly acquire the thread-specific read lock. - int acquire_read (void); + int acquire_read (); /// Explicitly acquire the thread-specific read lock. - int acquire (void); + int acquire (); /// Conditionally acquire the thread-specific read lock (i.e., won't /// block). - int tryacquire_read (void); + int tryacquire_read (); /// Conditionally acquire the thread-specific read lock (i.e., won't /// block). - int tryacquire (void); + int tryacquire (); // = Utility methods. /// Dump the state of an object. - void dump (void) const; + void dump () const; // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. |