summaryrefslogtreecommitdiff
path: root/ACE/tests/Process_Strategy_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/Process_Strategy_Test.cpp
parentcfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff)
downloadATCD-9027b24610848c0eb0d768b60b132ce9e09dee7d.tar.gz
Removed redundant void
Diffstat (limited to 'ACE/tests/Process_Strategy_Test.cpp')
-rw-r--r--ACE/tests/Process_Strategy_Test.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ACE/tests/Process_Strategy_Test.cpp b/ACE/tests/Process_Strategy_Test.cpp
index aa0797fe6b7..cccb0a7554a 100644
--- a/ACE/tests/Process_Strategy_Test.cpp
+++ b/ACE/tests/Process_Strategy_Test.cpp
@@ -68,7 +68,7 @@ static size_t connections = 0;
// Use this to show down the process gracefully.
void
-connection_completed (void)
+connection_completed ()
{
// Increment connection counter.
++connections;
@@ -93,7 +93,7 @@ Process_Strategy::Process_Strategy (size_t n_processes,
// Destructor. g++ 2.7.2.3 gets very confused ("Internal compiler
// error") without it.
-Process_Strategy::~Process_Strategy (void)
+Process_Strategy::~Process_Strategy ()
{
}
@@ -115,24 +115,24 @@ Process_Strategy::activate_svc_handler (Counting_Service *svc_handler,
}
ACE_File_Lock &
-Options::file_lock (void)
+Options::file_lock ()
{
return this->file_lock_;
}
ACE_Concurrency_Strategy <Counting_Service> *
-Options::concurrency_strategy (void)
+Options::concurrency_strategy ()
{
return this->concurrency_strategy_;
}
const ACE_TCHAR *
-Options::filename (void)
+Options::filename ()
{
return this->filename_;
}
-Options::Options (void)
+Options::Options ()
:
// Choose to use processes by default.
#if !defined (ACE_LACKS_FORK)
@@ -145,7 +145,7 @@ Options::Options (void)
{
}
-Options::~Options (void)
+Options::~Options ()
{
delete this->concurrency_strategy_;
}
@@ -261,7 +261,7 @@ Options::parse_args (int argc, ACE_TCHAR *argv[])
}
Options::Concurrency_Type
-Options::concurrency_type (void)
+Options::concurrency_type ()
{
return this->concurrency_type_;
}
@@ -282,7 +282,7 @@ Counting_Service::Counting_Service (ACE_Thread_Manager *)
// client.
int
-Counting_Service::read (void)
+Counting_Service::read ()
{
ACE_READ_GUARD_RETURN (ACE_File_Lock, ace_mon, OPTIONS::instance ()->file_lock (), -1);
@@ -317,7 +317,7 @@ Counting_Service::read (void)
// Increment the current value in the shared file by 1.
int
-Counting_Service::inc (void)
+Counting_Service::inc ()
{
ACE_WRITE_GUARD_RETURN (ACE_File_Lock, ace_mon,
OPTIONS::instance ()->file_lock (), -1);
@@ -409,7 +409,7 @@ Counting_Service::handle_input (ACE_HANDLE)
}
int
-Counting_Service::svc (void)
+Counting_Service::svc ()
{
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%P|%t) handling thread\n")));
@@ -605,7 +605,7 @@ client (void *arg)
// Have all connections been serviced?
int
-done (void)
+done ()
{
return connections == ACE_MAX_ITERATIONS + 1;
}