summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Logging_Service
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 /TAO/orbsvcs/Logging_Service
parentfe03724176dcfd20e0f9a6e493198469242be6b6 (diff)
downloadATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'TAO/orbsvcs/Logging_Service')
-rw-r--r--TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp12
-rw-r--r--TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h10
-rw-r--r--TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp12
-rw-r--r--TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.h10
-rw-r--r--TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp12
-rw-r--r--TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.h10
-rw-r--r--TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp12
-rw-r--r--TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.h10
8 files changed, 44 insertions, 44 deletions
diff --git a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
index d8094afeb0c..ef83acee478 100644
--- a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.cpp
@@ -6,7 +6,7 @@
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
-Basic_Logging_Service::Basic_Logging_Service (void)
+Basic_Logging_Service::Basic_Logging_Service ()
: service_name_ ("BasicLogFactory"),
ior_file_name_ (0),
pid_file_name_ (0),
@@ -16,7 +16,7 @@ Basic_Logging_Service::Basic_Logging_Service (void)
// No-Op.
}
-Basic_Logging_Service::~Basic_Logging_Service (void)
+Basic_Logging_Service::~Basic_Logging_Service ()
{
// No-Op.
}
@@ -159,7 +159,7 @@ Basic_Logging_Service::init (int argc, ACE_TCHAR *argv[])
}
void
-Basic_Logging_Service::resolve_naming_service (void)
+Basic_Logging_Service::resolve_naming_service ()
{
CORBA::Object_var naming_obj =
this->orb_->resolve_initial_references ("NameService");
@@ -173,7 +173,7 @@ Basic_Logging_Service::resolve_naming_service (void)
}
int
-Basic_Logging_Service::run (void)
+Basic_Logging_Service::run ()
{
if (this->nthreads_ > 0)
{
@@ -190,7 +190,7 @@ Basic_Logging_Service::run (void)
}
int
-Basic_Logging_Service::svc (void)
+Basic_Logging_Service::svc ()
{
try
{
@@ -205,7 +205,7 @@ Basic_Logging_Service::svc (void)
}
void
-Basic_Logging_Service::shutdown (void)
+Basic_Logging_Service::shutdown ()
{
if (this->bind_to_naming_service_)
{
diff --git a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h
index baa266ec49f..554ba9e1e97 100644
--- a/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h
+++ b/TAO/orbsvcs/Logging_Service/Basic_Logging_Service/Basic_Logging_Service.h
@@ -29,21 +29,21 @@ class Basic_Logging_Service
// Implementation of the Telecom Log Service
public:
- Basic_Logging_Service (void);
+ Basic_Logging_Service ();
// Constructor.
- virtual ~Basic_Logging_Service (void);
+ virtual ~Basic_Logging_Service ();
// Destructor.
int init (int argc, ACE_TCHAR *argv[]);
// Initializes the Telecom Log Service.
// Returns 0 on success, -1 on error.
- int run (void);
+ int run ();
// Run the Telecom Log Service.
// Returns 0 on success, -1 on error.
- void shutdown (void);
+ void shutdown ();
// Shutdown the Telecom Log Service.
// Returns 0 on success, -1 on error.
@@ -54,7 +54,7 @@ protected:
int parse_args (int argc, ACE_TCHAR *argv []);
// Parses the command line arguments.
- void resolve_naming_service (void);
+ void resolve_naming_service ();
// Resolve the naming service.
int svc ();
diff --git a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
index 3a12a0d0a5d..e0bbec59fdf 100644
--- a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.cpp
@@ -7,7 +7,7 @@
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
-Event_Logging_Service::Event_Logging_Service (void)
+Event_Logging_Service::Event_Logging_Service ()
: service_name_ ("EventLogFactory"),
ior_file_name_ (0),
pid_file_name_ (0),
@@ -17,7 +17,7 @@ Event_Logging_Service::Event_Logging_Service (void)
// No-Op.
}
-Event_Logging_Service::~Event_Logging_Service (void)
+Event_Logging_Service::~Event_Logging_Service ()
{
// No-Op.
}
@@ -163,7 +163,7 @@ Event_Logging_Service::init (int argc, ACE_TCHAR *argv[])
}
void
-Event_Logging_Service::resolve_naming_service (void)
+Event_Logging_Service::resolve_naming_service ()
{
CORBA::Object_var naming_obj =
this->orb_->resolve_initial_references ("NameService");
@@ -177,7 +177,7 @@ Event_Logging_Service::resolve_naming_service (void)
}
int
-Event_Logging_Service::run (void)
+Event_Logging_Service::run ()
{
if (this->nthreads_ > 0)
{
@@ -194,7 +194,7 @@ Event_Logging_Service::run (void)
}
int
-Event_Logging_Service::svc (void)
+Event_Logging_Service::svc ()
{
try
{
@@ -209,7 +209,7 @@ Event_Logging_Service::svc (void)
}
void
-Event_Logging_Service::shutdown (void)
+Event_Logging_Service::shutdown ()
{
if (this->bind_to_naming_service_)
{
diff --git a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.h b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.h
index 59b245511bb..6d669a5e97d 100644
--- a/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.h
+++ b/TAO/orbsvcs/Logging_Service/Event_Logging_Service/Event_Logging_Service.h
@@ -30,21 +30,21 @@ class Event_Logging_Service
// Implementation of the Telecom Log Service
public:
- Event_Logging_Service (void);
+ Event_Logging_Service ();
// Constructor.
- virtual ~Event_Logging_Service (void);
+ virtual ~Event_Logging_Service ();
// Destructor.
int init (int argc, ACE_TCHAR *argv[]);
// Initializes the Telecom Log Service.
// Returns 0 on success, -1 on error.
- int run (void);
+ int run ();
// Run the Telecom Log Service.
// Returns 0 on success, -1 on error.
- void shutdown (void);
+ void shutdown ();
// Shutdown the Telecom Log Service.
// Returns 0 on success, -1 on error.
@@ -55,7 +55,7 @@ protected:
int parse_args (int argc, ACE_TCHAR *argv []);
// Parses the command line arguments.
- void resolve_naming_service (void);
+ void resolve_naming_service ();
// Resolve the naming service.
int svc ();
diff --git a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
index 09df44ccbbf..f8e8e963fe5 100644
--- a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.cpp
@@ -7,7 +7,7 @@
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
-Notify_Logging_Service::Notify_Logging_Service (void)
+Notify_Logging_Service::Notify_Logging_Service ()
: service_name_ (NOTIFY_KEY),
ior_file_name_ (0),
pid_file_name_ (0),
@@ -17,7 +17,7 @@ Notify_Logging_Service::Notify_Logging_Service (void)
// No-Op.
}
-Notify_Logging_Service::~Notify_Logging_Service (void)
+Notify_Logging_Service::~Notify_Logging_Service ()
{
// No-Op.
}
@@ -185,7 +185,7 @@ Notify_Logging_Service::init (int argc, ACE_TCHAR *argv[])
}
void
-Notify_Logging_Service::resolve_naming_service (void)
+Notify_Logging_Service::resolve_naming_service ()
{
CORBA::Object_var naming_obj =
this->orb_->resolve_initial_references ("NameService");
@@ -199,7 +199,7 @@ Notify_Logging_Service::resolve_naming_service (void)
}
int
-Notify_Logging_Service::run (void)
+Notify_Logging_Service::run ()
{
if (this->nthreads_ > 0)
{
@@ -216,7 +216,7 @@ Notify_Logging_Service::run (void)
}
int
-Notify_Logging_Service::svc (void)
+Notify_Logging_Service::svc ()
{
try
{
@@ -231,7 +231,7 @@ Notify_Logging_Service::svc (void)
}
void
-Notify_Logging_Service::shutdown (void)
+Notify_Logging_Service::shutdown ()
{
if (this->bind_to_naming_service_)
{
diff --git a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.h b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.h
index ae5dfaecfee..edcf537a82b 100644
--- a/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.h
+++ b/TAO/orbsvcs/Logging_Service/Notify_Logging_Service/Notify_Logging_Service.h
@@ -34,21 +34,21 @@ class Notify_Logging_Service
// Implementation of the Telecom Log Service
public:
- Notify_Logging_Service (void);
+ Notify_Logging_Service ();
// Constructor.
- virtual ~Notify_Logging_Service (void);
+ virtual ~Notify_Logging_Service ();
// Destructor.
int init (int argc, ACE_TCHAR *argv[]);
// Initializes the Telecom Log Service.
// Returns 0 on success, -1 on error.
- int run (void);
+ int run ();
// Run the Telecom Log Service.
// Returns 0 on success, -1 on error.
- void shutdown (void);
+ void shutdown ();
// Shutdown the Telecom Service.
// Returns 0 on success, -1 on error.
@@ -59,7 +59,7 @@ protected:
int parse_args (int argc, ACE_TCHAR *argv[]);
// Parses the command line arguments.
- void resolve_naming_service (void);
+ void resolve_naming_service ();
// Resolve the naming service.
int svc ();
diff --git a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
index c2c6b65e1de..29afb015fdd 100644
--- a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
+++ b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.cpp
@@ -5,7 +5,7 @@
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_unistd.h"
-RTEvent_Logging_Service::RTEvent_Logging_Service (void)
+RTEvent_Logging_Service::RTEvent_Logging_Service ()
: service_name_ ("RTEventLogFactory"),
ior_file_name_ (0),
pid_file_name_ (0),
@@ -15,7 +15,7 @@ RTEvent_Logging_Service::RTEvent_Logging_Service (void)
// No-Op.
}
-RTEvent_Logging_Service::~RTEvent_Logging_Service (void)
+RTEvent_Logging_Service::~RTEvent_Logging_Service ()
{
// No-Op.
}
@@ -169,7 +169,7 @@ RTEvent_Logging_Service::init (int argc, ACE_TCHAR* argv[])
}
void
-RTEvent_Logging_Service::resolve_naming_service (void)
+RTEvent_Logging_Service::resolve_naming_service ()
{
CORBA::Object_var naming_obj =
this->orb_->resolve_initial_references ("NameService");
@@ -183,7 +183,7 @@ RTEvent_Logging_Service::resolve_naming_service (void)
}
int
-RTEvent_Logging_Service::run (void)
+RTEvent_Logging_Service::run ()
{
if (this->nthreads_ > 0)
{
@@ -200,7 +200,7 @@ RTEvent_Logging_Service::run (void)
}
int
-RTEvent_Logging_Service::svc (void)
+RTEvent_Logging_Service::svc ()
{
try
{
@@ -215,7 +215,7 @@ RTEvent_Logging_Service::svc (void)
}
void
-RTEvent_Logging_Service::shutdown (void)
+RTEvent_Logging_Service::shutdown ()
{
if (this->bind_to_naming_service_)
{
diff --git a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.h b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.h
index daefddca2c0..c8f37af5973 100644
--- a/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.h
+++ b/TAO/orbsvcs/Logging_Service/RTEvent_Logging_Service/RTEvent_Logging_Service.h
@@ -28,20 +28,20 @@ class RTEvent_Logging_Service
// Implementation of the Telecom Log Service
public:
- RTEvent_Logging_Service (void);
+ RTEvent_Logging_Service ();
// Constructor.
- virtual ~RTEvent_Logging_Service (void);
+ virtual ~RTEvent_Logging_Service ();
// Destructor.
int init (int argc, ACE_TCHAR* argv[]);
// Initializes the Telecom Log Service.
- int run (void);
+ int run ();
// Run the Telecom Log Service.
// Returns 0 on success, -1 on error.
- void shutdown (void);
+ void shutdown ();
// Shutdown the Telecom Log Service.
// Returns 0 on success, -1 on error.
@@ -52,7 +52,7 @@ protected:
int parse_args (int argc, ACE_TCHAR* argv[]);
// parse the command line args
- void resolve_naming_service (void);
+ void resolve_naming_service ();
// Resolve the naming service.
int svc ();