diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-19 14:37:02 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-22 16:20:53 +0200 |
commit | 2aab75d5fddc126e8085c70fe8e1b875b75a30ef (patch) | |
tree | 82498955ff2b3829d6597ed88a9eca1b1705df96 /ACE/examples/Service_Configurator/IPC-tests/server | |
parent | 5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff) | |
download | ATCD-2aab75d5fddc126e8085c70fe8e1b875b75a30ef.tar.gz |
Part 2: Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/examples/Service_Configurator/IPC-tests/server')
10 files changed, 23 insertions, 23 deletions
diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.inl index b043d4cc003..5347dcaec9b 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.inl @@ -6,12 +6,12 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_Broadcast::~Handle_Broadcast (void) +Handle_Broadcast::~Handle_Broadcast () { } ACE_INLINE -Handle_Broadcast::Handle_Broadcast (void) +Handle_Broadcast::Handle_Broadcast () { } @@ -78,7 +78,7 @@ Handle_Broadcast::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_Broadcast::fini (void) +Handle_Broadcast::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.inl index 856a2ffa99a..ef1707d6df5 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.inl @@ -5,7 +5,7 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_L_CODgram::Handle_L_CODgram (void) +Handle_L_CODgram::Handle_L_CODgram () { } @@ -69,7 +69,7 @@ Handle_L_CODgram::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_CODgram::fini(void) +Handle_L_CODgram::fini() { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.inl index c53e6841a64..b101c79b0ce 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.inl @@ -5,7 +5,7 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_L_Dgram::Handle_L_Dgram (void) +Handle_L_Dgram::Handle_L_Dgram () { } @@ -71,7 +71,7 @@ Handle_L_Dgram::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_Dgram::fini (void) +Handle_L_Dgram::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); } diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.inl index 1684001b85f..9fd9052c570 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.inl @@ -7,7 +7,7 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_L_FIFO::Handle_L_FIFO (void) +Handle_L_FIFO::Handle_L_FIFO () { } @@ -70,7 +70,7 @@ Handle_L_FIFO::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_FIFO::fini (void) +Handle_L_FIFO::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.inl index e9bc4503657..34cca37478b 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.inl @@ -5,12 +5,12 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_L_Pipe::~Handle_L_Pipe (void) +Handle_L_Pipe::~Handle_L_Pipe () { } ACE_INLINE -Handle_L_Pipe::Handle_L_Pipe (void) +Handle_L_Pipe::Handle_L_Pipe () { } @@ -73,7 +73,7 @@ Handle_L_Pipe::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_Pipe::fini (void) +Handle_L_Pipe::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.inl index 7981fb6519a..93c6fec50da 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.inl @@ -12,7 +12,7 @@ ACE_INLINE -Handle_L_SPIPE::Handle_L_SPIPE (void) +Handle_L_SPIPE::Handle_L_SPIPE () { } @@ -75,7 +75,7 @@ Handle_L_SPIPE::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_SPIPE::fini (void) +Handle_L_SPIPE::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl index 4cb5b66e16e..7e65e837497 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.inl @@ -6,12 +6,12 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_L_Stream::~Handle_L_Stream (void) +Handle_L_Stream::~Handle_L_Stream () { } ACE_INLINE -Handle_L_Stream::Handle_L_Stream (void) +Handle_L_Stream::Handle_L_Stream () { if (Handle_L_Stream::login_name == 0) { #if !defined(ACE_LACKS_CUSERID) @@ -85,7 +85,7 @@ Handle_L_Stream::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_L_Stream::fini (void) +Handle_L_Stream::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.inl index f4ac2cb07d2..3e339c733f9 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.inl @@ -5,7 +5,7 @@ #include "ace/OS_NS_unistd.h" ACE_INLINE -Handle_R_Dgram::Handle_R_Dgram (void) +Handle_R_Dgram::Handle_R_Dgram () { } @@ -64,7 +64,7 @@ Handle_R_Dgram::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_R_Dgram::fini (void) +Handle_R_Dgram::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.inl index 59582edb6a2..a61cda4cce7 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.inl @@ -8,7 +8,7 @@ #include "ace/Truncate.h" ACE_INLINE -Handle_R_Stream::Handle_R_Stream (void) +Handle_R_Stream::Handle_R_Stream () { if (Handle_R_Stream::login_name == 0) { #if !defined(ACE_LACKS_CUSERID) @@ -90,7 +90,7 @@ Handle_R_Stream::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_R_Stream::fini (void) +Handle_R_Stream::fini () { return ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK); diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl index ca8f917ad5b..be717e91838 100644 --- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl +++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl @@ -6,7 +6,7 @@ #include "ace/Truncate.h" ACE_INLINE -Handle_Timeout::Handle_Timeout (void): count (0) +Handle_Timeout::Handle_Timeout () : count (0) { } @@ -63,7 +63,7 @@ Handle_Timeout::init (int argc, ACE_TCHAR *argv[]) } ACE_INLINE int -Handle_Timeout::fini (void) +Handle_Timeout::fini () { return 0; } |