summaryrefslogtreecommitdiff
path: root/ACE/examples/Monitor
diff options
context:
space:
mode:
authorKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
committerKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
commit3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch)
tree379c29e09bf55597fe6740cd163478cd1204a181 /ACE/examples/Monitor
parentfe03724176dcfd20e0f9a6e493198469242be6b6 (diff)
downloadATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/examples/Monitor')
-rw-r--r--ACE/examples/Monitor/Bytes_Sent/bytes_sent.cpp2
-rw-r--r--ACE/examples/Monitor/CPU_Load/cpu_load.cpp2
-rw-r--r--ACE/examples/Monitor/Constraint/constraint.cpp2
-rw-r--r--ACE/examples/Monitor/Group/group.cpp2
-rw-r--r--ACE/examples/Monitor/Memory_Usage/memory_usage.cpp2
-rw-r--r--ACE/examples/Monitor/Message_Queue_Size/message_queue_size.cpp2
-rw-r--r--ACE/examples/Monitor/Num_Threads/num_threads.cpp4
7 files changed, 8 insertions, 8 deletions
diff --git a/ACE/examples/Monitor/Bytes_Sent/bytes_sent.cpp b/ACE/examples/Monitor/Bytes_Sent/bytes_sent.cpp
index d26d2418051..60e7eca8ba5 100644
--- a/ACE/examples/Monitor/Bytes_Sent/bytes_sent.cpp
+++ b/ACE/examples/Monitor/Bytes_Sent/bytes_sent.cpp
@@ -14,7 +14,7 @@ using namespace ACE_VERSIONED_NAMESPACE_NAME::ACE::Monitor_Control;
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =
diff --git a/ACE/examples/Monitor/CPU_Load/cpu_load.cpp b/ACE/examples/Monitor/CPU_Load/cpu_load.cpp
index 5df97778106..4fe244f651d 100644
--- a/ACE/examples/Monitor/CPU_Load/cpu_load.cpp
+++ b/ACE/examples/Monitor/CPU_Load/cpu_load.cpp
@@ -12,7 +12,7 @@
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =
diff --git a/ACE/examples/Monitor/Constraint/constraint.cpp b/ACE/examples/Monitor/Constraint/constraint.cpp
index ae05c8b852a..a85aa9c70cd 100644
--- a/ACE/examples/Monitor/Constraint/constraint.cpp
+++ b/ACE/examples/Monitor/Constraint/constraint.cpp
@@ -34,7 +34,7 @@ class Trigger16k : public Control_Action
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =
diff --git a/ACE/examples/Monitor/Group/group.cpp b/ACE/examples/Monitor/Group/group.cpp
index 6de5850b054..30e6c309d25 100644
--- a/ACE/examples/Monitor/Group/group.cpp
+++ b/ACE/examples/Monitor/Group/group.cpp
@@ -17,7 +17,7 @@ using namespace ACE_VERSIONED_NAMESPACE_NAME::ACE::Monitor_Control;
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =
diff --git a/ACE/examples/Monitor/Memory_Usage/memory_usage.cpp b/ACE/examples/Monitor/Memory_Usage/memory_usage.cpp
index 7d335a38631..c46b7d77b9a 100644
--- a/ACE/examples/Monitor/Memory_Usage/memory_usage.cpp
+++ b/ACE/examples/Monitor/Memory_Usage/memory_usage.cpp
@@ -12,7 +12,7 @@
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =
diff --git a/ACE/examples/Monitor/Message_Queue_Size/message_queue_size.cpp b/ACE/examples/Monitor/Message_Queue_Size/message_queue_size.cpp
index de57420f0b7..7f4606c2256 100644
--- a/ACE/examples/Monitor/Message_Queue_Size/message_queue_size.cpp
+++ b/ACE/examples/Monitor/Message_Queue_Size/message_queue_size.cpp
@@ -20,7 +20,7 @@ public:
{
}
- int svc (void)
+ int svc ()
{
/// Reconstruct the monitor's unique name using the queue's hex address.
const int nibbles = 2 * sizeof (ptrdiff_t);
diff --git a/ACE/examples/Monitor/Num_Threads/num_threads.cpp b/ACE/examples/Monitor/Num_Threads/num_threads.cpp
index 5bc46daec4f..a9b829de9bc 100644
--- a/ACE/examples/Monitor/Num_Threads/num_threads.cpp
+++ b/ACE/examples/Monitor/Num_Threads/num_threads.cpp
@@ -9,7 +9,7 @@
class Worker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
ACE_OS::sleep (5);
return 0;
@@ -22,7 +22,7 @@ public:
class Monitor_Checker : public ACE_Task_Base
{
public:
- int svc (void)
+ int svc ()
{
/// Get an instance of the MC service singleton.
MC_ADMINMANAGER* mgr =