summaryrefslogtreecommitdiff
path: root/ACE/tests/Recursive_Condition_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:04:35 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-08 08:04:35 +0100
commit9027b24610848c0eb0d768b60b132ce9e09dee7d (patch)
treef2b313d8110861616f330776f20f1df0c348cc0b /ACE/tests/Recursive_Condition_Test.cpp
parentcfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff)
downloadATCD-9027b24610848c0eb0d768b60b132ce9e09dee7d.tar.gz
Removed redundant void
Diffstat (limited to 'ACE/tests/Recursive_Condition_Test.cpp')
-rw-r--r--ACE/tests/Recursive_Condition_Test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/tests/Recursive_Condition_Test.cpp b/ACE/tests/Recursive_Condition_Test.cpp
index e1e596edf71..4d1ceac0837 100644
--- a/ACE/tests/Recursive_Condition_Test.cpp
+++ b/ACE/tests/Recursive_Condition_Test.cpp
@@ -27,8 +27,8 @@ typedef ACE_Thread_Timer_Queue_Adapter<ACE_Timer_Heap> Thread_Timer_Queue;
class Test_Handler : public ACE_Event_Handler
{
public:
- Test_Handler (void) : nr_expirations_ (0) {}
- int nr_expirations (void) { return this->nr_expirations_; }
+ Test_Handler () : nr_expirations_ (0) {}
+ int nr_expirations () { return this->nr_expirations_; }
virtual int handle_timeout (const ACE_Time_Value &,
const void *arg)
@@ -87,7 +87,7 @@ waiter (void *)
}
static int
-test_1 (void)
+test_1 ()
{
protected_int = 1;
if (ACE_Thread_Manager::instance()->spawn (waiter) == -1)
@@ -116,7 +116,7 @@ test_1 (void)
}
static int
-test_2 (void)
+test_2 ()
{
protected_int = 1;
if (ACE_Thread_Manager::instance()->spawn (waiter) == -1)
@@ -146,7 +146,7 @@ test_2 (void)
}
static int
-test_3 (void)
+test_3 ()
{
protected_int = 1;
if (ACE_Thread_Manager::instance()->spawn_n (4, waiter) == -1)
@@ -174,7 +174,7 @@ test_3 (void)
}
static int
-test_4 (void)
+test_4 ()
{
const int recurse_count = 3;