From 3da59eac098c1ef9d2c98f2079185ff35c3b6105 Mon Sep 17 00:00:00 2001 From: Knut Petter Svendsen Date: Tue, 13 Sep 2022 22:57:39 +0200 Subject: Remove obsolescent (void) in functions with no parameters --- TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.cpp | 2 +- TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.h | 2 +- TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.cpp | 4 ++-- TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.h | 4 ++-- TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.cpp | 2 +- TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'TAO/orbsvcs/tests/COIOP_Naming_Test') diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.cpp b/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.cpp index d1ee5370765..a03559bd56a 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.cpp +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.cpp @@ -16,7 +16,7 @@ Client_Task::Client_Task (CosNaming::NamingContext_ptr root_context, } int -Client_Task::svc (void) +Client_Task::svc () { try { diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.h b/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.h index 6148938a66b..2961144d06f 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.h +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Client_Task.h @@ -22,7 +22,7 @@ public: CORBA::Boolean result); /// Thread entry point - int svc (void); + int svc (); private: CosNaming::NamingContext_var root_context_; diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.cpp b/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.cpp index f047a361bee..ae17e626300 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.cpp +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.cpp @@ -12,7 +12,7 @@ } char * -Hello::get_string (void) +Hello::get_string () { ACE_DEBUG ((LM_DEBUG, "(%P|%t) Upcall in process ..\n")); @@ -54,7 +54,7 @@ Hello::get_string (void) } void -Hello::shutdown (void) +Hello::shutdown () { // Give the client thread time to return from the collocated // call to this method before shutting down the ORB. We sleep diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.h b/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.h index 043a6968853..e9c0f470f49 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.h +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Hello.h @@ -15,9 +15,9 @@ public: ACE_thread_t thr_id); // = The skeleton methods - virtual char * get_string (void); + virtual char * get_string (); - virtual void shutdown (void); + virtual void shutdown (); private: /// Use an ORB reference to convert strings to objects and shutdown diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.cpp b/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.cpp index 9b72cfaecad..8b398a90449 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.cpp +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.cpp @@ -16,7 +16,7 @@ Server_Task::Server_Task (CosNaming::NamingContext_ptr root_context, } int -Server_Task::svc (void) +Server_Task::svc () { try { diff --git a/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.h b/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.h index f4bdbbf8f0c..b909a5aef7c 100644 --- a/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.h +++ b/TAO/orbsvcs/tests/COIOP_Naming_Test/Server_Task.h @@ -28,7 +28,7 @@ public: ACE_Thread_Manager *thr_mgr); /// Thread entry point - int svc (void); + int svc (); private: CosNaming::NamingContext_var root_context_; -- cgit v1.2.1