diff options
202 files changed, 1193 insertions, 1193 deletions
diff --git a/ACE/ace/ACE.cpp b/ACE/ace/ACE.cpp index 0ff5080d688..7a1b38b2bf0 100644 --- a/ACE/ace/ACE.cpp +++ b/ACE/ace/ACE.cpp @@ -91,31 +91,31 @@ ACE::out_of_handles (int error) } u_int -ACE::major_version (void) +ACE::major_version () { return ACE_MAJOR_VERSION; } u_int -ACE::minor_version (void) +ACE::minor_version () { return ACE_MINOR_VERSION; } u_int -ACE::beta_version (void) +ACE::beta_version () { return ACE_BETA_VERSION; } u_int -ACE::micro_version (void) +ACE::micro_version () { return ACE_MICRO_VERSION; } const ACE_TCHAR * -ACE::compiler_name (void) +ACE::compiler_name () { #ifdef ACE_CC_NAME return ACE_CC_NAME; @@ -125,7 +125,7 @@ ACE::compiler_name (void) } u_int -ACE::compiler_major_version (void) +ACE::compiler_major_version () { #ifdef ACE_CC_MAJOR_VERSION return ACE_CC_MAJOR_VERSION; @@ -135,7 +135,7 @@ ACE::compiler_major_version (void) } u_int -ACE::compiler_minor_version (void) +ACE::compiler_minor_version () { #ifdef ACE_CC_MINOR_VERSION return ACE_CC_MINOR_VERSION; @@ -145,7 +145,7 @@ ACE::compiler_minor_version (void) } u_int -ACE::compiler_beta_version (void) +ACE::compiler_beta_version () { #ifdef ACE_CC_BETA_VERSION return ACE_CC_BETA_VERSION; @@ -162,7 +162,7 @@ ACE::nibble2hex (u_int n) } bool -ACE::debug (void) +ACE::debug () { //FUZZ: disable check_for_ace_log_categories static const char *debug = ACE_OS::getenv ("ACE_DEBUG"); @@ -2819,7 +2819,7 @@ ACE::fork (const ACE_TCHAR *program_name, } int -ACE::max_handles (void) +ACE::max_handles () { ACE_TRACE ("ACE::max_handles"); #if defined (RLIMIT_NOFILE) && !defined (ACE_LACKS_RLIMIT) diff --git a/ACE/ace/Activation_Queue.cpp b/ACE/ace/Activation_Queue.cpp index 61683993cbc..628ae2e7a8e 100644 --- a/ACE/ace/Activation_Queue.cpp +++ b/ACE/ace/Activation_Queue.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Activation_Queue) void -ACE_Activation_Queue::dump (void) const +ACE_Activation_Queue::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); @@ -74,7 +74,7 @@ ACE_Activation_Queue::queue (ACE_Message_Queue<ACE_SYNCH> *q) queue_ = q; } -ACE_Activation_Queue::~ACE_Activation_Queue (void) +ACE_Activation_Queue::~ACE_Activation_Queue () { if (this->delete_queue_) delete this->queue_; diff --git a/ACE/ace/Addr.cpp b/ACE/ace/Addr.cpp index 85f3523cf48..b1685851c49 100644 --- a/ACE/ace/Addr.cpp +++ b/ACE/ace/Addr.cpp @@ -28,12 +28,12 @@ ACE_Addr::ACE_Addr (int type, int size) : { } -ACE_Addr::~ACE_Addr (void) +ACE_Addr::~ACE_Addr () { } void * -ACE_Addr::get_addr (void) const +ACE_Addr::get_addr () const { return 0; } @@ -53,7 +53,7 @@ ACE_Addr::base_set (int type, int size) } void -ACE_Addr::dump (void) const +ACE_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Addr::dump"); diff --git a/ACE/ace/Argv_Type_Converter.cpp b/ACE/ace/Argv_Type_Converter.cpp index 4c8e4fbb93a..ddf9531f10a 100644 --- a/ACE/ace/Argv_Type_Converter.cpp +++ b/ACE/ace/Argv_Type_Converter.cpp @@ -47,7 +47,7 @@ ACE_Argv_Type_Converter::ACE_Argv_Type_Converter (int &argc, char **argv) } #endif // ACE_USES_WCHAR -ACE_Argv_Type_Converter::~ACE_Argv_Type_Converter (void) +ACE_Argv_Type_Converter::~ACE_Argv_Type_Converter () { #if defined (ACE_USES_WCHAR) // selectively delete the 'copy' of argv diff --git a/ACE/ace/Asynch_IO.cpp b/ACE/ace/Asynch_IO.cpp index f50cdc33d31..64637f49a6b 100644 --- a/ACE/ace/Asynch_IO.cpp +++ b/ACE/ace/Asynch_IO.cpp @@ -13,61 +13,61 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL size_t -ACE_Asynch_Result::bytes_transferred (void) const +ACE_Asynch_Result::bytes_transferred () const { return this->implementation ()->bytes_transferred (); } const void * -ACE_Asynch_Result::act (void) const +ACE_Asynch_Result::act () const { return this->implementation ()->act (); } int -ACE_Asynch_Result::success (void) const +ACE_Asynch_Result::success () const { return this->implementation ()->success (); } const void * -ACE_Asynch_Result::completion_key (void) const +ACE_Asynch_Result::completion_key () const { return this->implementation ()->completion_key (); } unsigned long -ACE_Asynch_Result::error (void) const +ACE_Asynch_Result::error () const { return this->implementation ()->error (); } ACE_HANDLE -ACE_Asynch_Result::event (void) const +ACE_Asynch_Result::event () const { return this->implementation ()->event (); } unsigned long -ACE_Asynch_Result::offset (void) const +ACE_Asynch_Result::offset () const { return this->implementation ()->offset (); } unsigned long -ACE_Asynch_Result::offset_high (void) const +ACE_Asynch_Result::offset_high () const { return this->implementation ()->offset_high (); } int -ACE_Asynch_Result::priority (void) const +ACE_Asynch_Result::priority () const { return this->implementation ()->priority (); } int -ACE_Asynch_Result::signal_number (void) const +ACE_Asynch_Result::signal_number () const { return this->implementation ()->signal_number (); } @@ -77,13 +77,13 @@ ACE_Asynch_Result::ACE_Asynch_Result (ACE_Asynch_Result_Impl *implementation) { } -ACE_Asynch_Result::~ACE_Asynch_Result (void) +ACE_Asynch_Result::~ACE_Asynch_Result () { // Proactor deletes the implementation when the <complete> finishes. } ACE_Asynch_Result_Impl * -ACE_Asynch_Result::implementation (void) const +ACE_Asynch_Result::implementation () const { return this->implementation_; } @@ -103,7 +103,7 @@ ACE_Asynch_Operation::open (ACE_Handler &handler, } int -ACE_Asynch_Operation::cancel (void) +ACE_Asynch_Operation::cancel () { if (0 == this->implementation ()) { @@ -114,7 +114,7 @@ ACE_Asynch_Operation::cancel (void) } ACE_Proactor * -ACE_Asynch_Operation::proactor (void) const +ACE_Asynch_Operation::proactor () const { if (0 == this->implementation ()) { @@ -124,11 +124,11 @@ ACE_Asynch_Operation::proactor (void) const return this->implementation ()->proactor (); } -ACE_Asynch_Operation::ACE_Asynch_Operation (void) +ACE_Asynch_Operation::ACE_Asynch_Operation () { } -ACE_Asynch_Operation::~ACE_Asynch_Operation (void) +ACE_Asynch_Operation::~ACE_Asynch_Operation () { } @@ -149,12 +149,12 @@ ACE_Asynch_Operation::get_proactor (ACE_Proactor *user_proactor, // ************************************************************ -ACE_Asynch_Read_Stream::ACE_Asynch_Read_Stream (void) +ACE_Asynch_Read_Stream::ACE_Asynch_Read_Stream () : implementation_ (0) { } -ACE_Asynch_Read_Stream::~ACE_Asynch_Read_Stream (void) +ACE_Asynch_Read_Stream::~ACE_Asynch_Read_Stream () { // Delete the implementation. delete this->implementation_; @@ -222,7 +222,7 @@ ACE_Asynch_Read_Stream::readv (ACE_Message_Block &message_block, #endif /* ACE_HAS_WIN32_OVERLAPPED_IO */ ACE_Asynch_Operation_Impl * -ACE_Asynch_Read_Stream::implementation (void) const +ACE_Asynch_Read_Stream::implementation () const { return this->implementation_; } @@ -230,19 +230,19 @@ ACE_Asynch_Read_Stream::implementation (void) const // ************************************************************ size_t -ACE_Asynch_Read_Stream::Result::bytes_to_read (void) const +ACE_Asynch_Read_Stream::Result::bytes_to_read () const { return this->implementation ()->bytes_to_read (); } ACE_Message_Block & -ACE_Asynch_Read_Stream::Result::message_block (void) const +ACE_Asynch_Read_Stream::Result::message_block () const { return this->implementation ()->message_block (); } ACE_HANDLE -ACE_Asynch_Read_Stream::Result::handle (void) const +ACE_Asynch_Read_Stream::Result::handle () const { return this->implementation ()->handle (); } @@ -253,26 +253,26 @@ ACE_Asynch_Read_Stream::Result::Result (ACE_Asynch_Read_Stream_Result_Impl *impl { } -ACE_Asynch_Read_Stream::Result::~Result (void) +ACE_Asynch_Read_Stream::Result::~Result () { // Proactor will delete the implementation after <complete> is // finished. } ACE_Asynch_Read_Stream_Result_Impl * -ACE_Asynch_Read_Stream::Result::implementation (void) const +ACE_Asynch_Read_Stream::Result::implementation () const { return this->implementation_; } // *************************************************** -ACE_Asynch_Write_Stream::ACE_Asynch_Write_Stream (void) +ACE_Asynch_Write_Stream::ACE_Asynch_Write_Stream () : implementation_ (0) { } -ACE_Asynch_Write_Stream::~ACE_Asynch_Write_Stream (void) +ACE_Asynch_Write_Stream::~ACE_Asynch_Write_Stream () { // Delete the implementation. delete this->implementation_; @@ -340,7 +340,7 @@ ACE_Asynch_Write_Stream::writev (ACE_Message_Block &message_block, #endif /* ACE_HAS_WIN32_OVERLAPPED_IO */ ACE_Asynch_Operation_Impl * -ACE_Asynch_Write_Stream::implementation (void) const +ACE_Asynch_Write_Stream::implementation () const { return this->implementation_; } @@ -348,19 +348,19 @@ ACE_Asynch_Write_Stream::implementation (void) const // ************************************************************ size_t -ACE_Asynch_Write_Stream::Result::bytes_to_write (void) const +ACE_Asynch_Write_Stream::Result::bytes_to_write () const { return this->implementation ()->bytes_to_write (); } ACE_Message_Block & -ACE_Asynch_Write_Stream::Result::message_block (void) const +ACE_Asynch_Write_Stream::Result::message_block () const { return this->implementation ()->message_block (); } ACE_HANDLE -ACE_Asynch_Write_Stream::Result::handle (void) const +ACE_Asynch_Write_Stream::Result::handle () const { return this->implementation ()->handle (); } @@ -371,26 +371,26 @@ ACE_Asynch_Write_Stream::Result::Result (ACE_Asynch_Write_Stream_Result_Impl *im { } -ACE_Asynch_Write_Stream::Result::~Result (void) +ACE_Asynch_Write_Stream::Result::~Result () { // Proactor will delte the implementation when the <complete> call // finishes. } ACE_Asynch_Write_Stream_Result_Impl * -ACE_Asynch_Write_Stream::Result::implementation (void) const +ACE_Asynch_Write_Stream::Result::implementation () const { return this->implementation_; } // ************************************************************ -ACE_Asynch_Read_File::ACE_Asynch_Read_File (void) +ACE_Asynch_Read_File::ACE_Asynch_Read_File () : implementation_ (0) { } -ACE_Asynch_Read_File::~ACE_Asynch_Read_File (void) +ACE_Asynch_Read_File::~ACE_Asynch_Read_File () { // Delete the implementation. delete this->implementation_; @@ -466,7 +466,7 @@ ACE_Asynch_Read_File::readv (ACE_Message_Block &message_block, #endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */ ACE_Asynch_Operation_Impl * -ACE_Asynch_Read_File::implementation (void) const +ACE_Asynch_Read_File::implementation () const { return this->implementation_; } @@ -479,26 +479,26 @@ ACE_Asynch_Read_File::Result::Result (ACE_Asynch_Read_File_Result_Impl *implemen { } -ACE_Asynch_Read_File::Result::~Result (void) +ACE_Asynch_Read_File::Result::~Result () { // Proactor will delete the implementation when <complete> call // completes. } ACE_Asynch_Read_File_Result_Impl * -ACE_Asynch_Read_File::Result::implementation (void) const +ACE_Asynch_Read_File::Result::implementation () const { return this->implementation_; } // ************************************************************ -ACE_Asynch_Write_File::ACE_Asynch_Write_File (void) +ACE_Asynch_Write_File::ACE_Asynch_Write_File () : implementation_ (0) { } -ACE_Asynch_Write_File::~ACE_Asynch_Write_File (void) +ACE_Asynch_Write_File::~ACE_Asynch_Write_File () { // Delete the implementation. delete this->implementation_; @@ -574,7 +574,7 @@ ACE_Asynch_Write_File::writev (ACE_Message_Block &message_block, #endif /* (defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) */ ACE_Asynch_Operation_Impl * -ACE_Asynch_Write_File::implementation (void) const +ACE_Asynch_Write_File::implementation () const { return this->implementation_; } @@ -587,26 +587,26 @@ ACE_Asynch_Write_File::Result::Result (ACE_Asynch_Write_File_Result_Impl *implem { } -ACE_Asynch_Write_File::Result::~Result (void) +ACE_Asynch_Write_File::Result::~Result () { // Proactor will delete the implementation when the <complete> call // completes. } ACE_Asynch_Write_File_Result_Impl * -ACE_Asynch_Write_File::Result::implementation (void) const +ACE_Asynch_Write_File::Result::implementation () const { return this->implementation_; } // ********************************************************************* -ACE_Asynch_Accept::ACE_Asynch_Accept (void) +ACE_Asynch_Accept::ACE_Asynch_Accept () : implementation_ (0) { } -ACE_Asynch_Accept::~ACE_Asynch_Accept (void) +ACE_Asynch_Accept::~ACE_Asynch_Accept () { // Delete the implementation. delete this->implementation_; @@ -657,7 +657,7 @@ ACE_Asynch_Accept::accept (ACE_Message_Block &message_block, } ACE_Asynch_Operation_Impl * -ACE_Asynch_Accept::implementation (void) const +ACE_Asynch_Accept::implementation () const { return this->implementation_; } @@ -665,25 +665,25 @@ ACE_Asynch_Accept::implementation (void) const // ************************************************************ size_t -ACE_Asynch_Accept::Result::bytes_to_read (void) const +ACE_Asynch_Accept::Result::bytes_to_read () const { return this->implementation ()->bytes_to_read (); } ACE_Message_Block & -ACE_Asynch_Accept::Result::message_block (void) const +ACE_Asynch_Accept::Result::message_block () const { return this->implementation ()->message_block (); } ACE_HANDLE -ACE_Asynch_Accept::Result::listen_handle (void) const +ACE_Asynch_Accept::Result::listen_handle () const { return this->implementation ()->listen_handle (); } ACE_HANDLE -ACE_Asynch_Accept::Result::accept_handle (void) const +ACE_Asynch_Accept::Result::accept_handle () const { return this->implementation ()->accept_handle (); } @@ -694,14 +694,14 @@ ACE_Asynch_Accept::Result::Result (ACE_Asynch_Accept_Result_Impl *implementation { } -ACE_Asynch_Accept::Result::~Result (void) +ACE_Asynch_Accept::Result::~Result () { // Proactor will delete the implementation when the <complete> call // completes. } ACE_Asynch_Accept_Result_Impl * -ACE_Asynch_Accept::Result::implementation (void) const +ACE_Asynch_Accept::Result::implementation () const { return this->implementation_; } @@ -710,12 +710,12 @@ ACE_Asynch_Accept::Result::implementation (void) const // ********************************************************************* -ACE_Asynch_Connect::ACE_Asynch_Connect (void) +ACE_Asynch_Connect::ACE_Asynch_Connect () : implementation_ (0) { } -ACE_Asynch_Connect::~ACE_Asynch_Connect (void) +ACE_Asynch_Connect::~ACE_Asynch_Connect () { // Delete the implementation. delete this->implementation_; @@ -766,7 +766,7 @@ ACE_Asynch_Connect::connect (ACE_HANDLE connect_handle, } ACE_Asynch_Operation_Impl * -ACE_Asynch_Connect::implementation (void) const +ACE_Asynch_Connect::implementation () const { return this->implementation_; } @@ -779,33 +779,33 @@ ACE_Asynch_Connect::Result::Result (ACE_Asynch_Connect_Result_Impl *implementati { } -ACE_Asynch_Connect::Result::~Result (void) +ACE_Asynch_Connect::Result::~Result () { // Proactor will delete the implementation when the <complete> call // completes. } ACE_HANDLE -ACE_Asynch_Connect::Result::connect_handle (void) const +ACE_Asynch_Connect::Result::connect_handle () const { return this->implementation ()->connect_handle (); } ACE_Asynch_Connect_Result_Impl * -ACE_Asynch_Connect::Result::implementation (void) const +ACE_Asynch_Connect::Result::implementation () const { return this->implementation_; } // ************************************************************ -ACE_Asynch_Transmit_File::ACE_Asynch_Transmit_File (void) +ACE_Asynch_Transmit_File::ACE_Asynch_Transmit_File () : implementation_ (0) { } -ACE_Asynch_Transmit_File::~ACE_Asynch_Transmit_File (void) +ACE_Asynch_Transmit_File::~ACE_Asynch_Transmit_File () { // Delete the implementation. delete this->implementation_; @@ -862,7 +862,7 @@ ACE_Asynch_Transmit_File::transmit_file (ACE_HANDLE file, } ACE_Asynch_Operation_Impl * -ACE_Asynch_Transmit_File::implementation (void) const +ACE_Asynch_Transmit_File::implementation () const { return this->implementation_; } @@ -870,37 +870,37 @@ ACE_Asynch_Transmit_File::implementation (void) const // **************************************************************************** ACE_HANDLE -ACE_Asynch_Transmit_File::Result::socket (void) const +ACE_Asynch_Transmit_File::Result::socket () const { return this->implementation ()->socket (); } ACE_HANDLE -ACE_Asynch_Transmit_File::Result::file (void) const +ACE_Asynch_Transmit_File::Result::file () const { return this->implementation ()->file (); } ACE_Asynch_Transmit_File::Header_And_Trailer * -ACE_Asynch_Transmit_File::Result::header_and_trailer (void) const +ACE_Asynch_Transmit_File::Result::header_and_trailer () const { return this->implementation ()->header_and_trailer (); } size_t -ACE_Asynch_Transmit_File::Result::bytes_to_write (void) const +ACE_Asynch_Transmit_File::Result::bytes_to_write () const { return this->implementation ()->bytes_to_write (); } size_t -ACE_Asynch_Transmit_File::Result::bytes_per_send (void) const +ACE_Asynch_Transmit_File::Result::bytes_per_send () const { return this->implementation ()->bytes_per_send (); } unsigned long -ACE_Asynch_Transmit_File::Result::flags (void) const +ACE_Asynch_Transmit_File::Result::flags () const { return this->implementation ()->flags (); } @@ -911,12 +911,12 @@ ACE_Asynch_Transmit_File::Result::Result (ACE_Asynch_Transmit_File_Result_Impl * { } -ACE_Asynch_Transmit_File::Result::~Result (void) +ACE_Asynch_Transmit_File::Result::~Result () { } ACE_Asynch_Transmit_File_Result_Impl * -ACE_Asynch_Transmit_File::Result::implementation (void) const +ACE_Asynch_Transmit_File::Result::implementation () const { return this->implementation_; } @@ -934,7 +934,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::Header_And_Trailer (ACE_Message_Bl { } -ACE_Asynch_Transmit_File::Header_And_Trailer::~Header_And_Trailer (void) +ACE_Asynch_Transmit_File::Header_And_Trailer::~Header_And_Trailer () { } @@ -951,7 +951,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::header_and_trailer (ACE_Message_Bl } ACE_Message_Block * -ACE_Asynch_Transmit_File::Header_And_Trailer::header (void) const +ACE_Asynch_Transmit_File::Header_And_Trailer::header () const { return this->header_; } @@ -963,7 +963,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::header (ACE_Message_Block *message } size_t -ACE_Asynch_Transmit_File::Header_And_Trailer::header_bytes (void) const +ACE_Asynch_Transmit_File::Header_And_Trailer::header_bytes () const { return this->header_bytes_; } @@ -975,7 +975,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::header_bytes (size_t bytes) } ACE_Message_Block * -ACE_Asynch_Transmit_File::Header_And_Trailer::trailer (void) const +ACE_Asynch_Transmit_File::Header_And_Trailer::trailer () const { return this->trailer_; } @@ -987,7 +987,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::trailer (ACE_Message_Block *messag } size_t -ACE_Asynch_Transmit_File::Header_And_Trailer::trailer_bytes (void) const +ACE_Asynch_Transmit_File::Header_And_Trailer::trailer_bytes () const { return this->trailer_bytes_; } @@ -999,7 +999,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::trailer_bytes (size_t bytes) } ACE_LPTRANSMIT_FILE_BUFFERS -ACE_Asynch_Transmit_File::Header_And_Trailer::transmit_buffers (void) +ACE_Asynch_Transmit_File::Header_And_Trailer::transmit_buffers () { // If both are zero, return zero if (this->header_ == 0 && this->trailer_ == 0) @@ -1051,7 +1051,7 @@ ACE_Asynch_Transmit_File::Header_And_Trailer::transmit_buffers (void) // ********************************************************************* -ACE_Handler::ACE_Handler (void) +ACE_Handler::ACE_Handler () : proactor_ (0), handle_ (ACE_INVALID_HANDLE) { ACE_Handler::Proxy *p; @@ -1067,7 +1067,7 @@ ACE_Handler::ACE_Handler (ACE_Proactor *d) this->proxy_.reset (p); } -ACE_Handler::~ACE_Handler (void) +ACE_Handler::~ACE_Handler () { ACE_Handler::Proxy *p = this->proxy_.get (); if (p) @@ -1126,12 +1126,12 @@ ACE_Handler::handle_time_out (const ACE_Time_Value & /* tv */, } void -ACE_Handler::handle_wakeup (void) +ACE_Handler::handle_wakeup () { } ACE_Proactor * -ACE_Handler::proactor (void) +ACE_Handler::proactor () { return this->proactor_; } @@ -1143,7 +1143,7 @@ ACE_Handler::proactor (ACE_Proactor *p) } ACE_HANDLE -ACE_Handler::handle (void) const +ACE_Handler::handle () const { return this->handle_; } @@ -1155,18 +1155,18 @@ ACE_Handler::handle (ACE_HANDLE h) } ACE_Refcounted_Auto_Ptr<ACE_Handler::Proxy, ACE_SYNCH_MUTEX> & -ACE_Handler::proxy (void) +ACE_Handler::proxy () { return this->proxy_; } // ************************************************************ -ACE_Service_Handler::ACE_Service_Handler (void) +ACE_Service_Handler::ACE_Service_Handler () { } -ACE_Service_Handler::~ACE_Service_Handler (void) +ACE_Service_Handler::~ACE_Service_Handler () { } @@ -1190,12 +1190,12 @@ ACE_Service_Handler::open (ACE_HANDLE, // ************************************************************ -ACE_Asynch_Read_Dgram::ACE_Asynch_Read_Dgram (void) +ACE_Asynch_Read_Dgram::ACE_Asynch_Read_Dgram () : implementation_ (0) { } -ACE_Asynch_Read_Dgram::~ACE_Asynch_Read_Dgram (void) +ACE_Asynch_Read_Dgram::~ACE_Asynch_Read_Dgram () { // Delete the implementation. delete this->implementation_; @@ -1246,7 +1246,7 @@ ACE_Asynch_Read_Dgram::recv (ACE_Message_Block *message_block, } ACE_Asynch_Operation_Impl * -ACE_Asynch_Read_Dgram::implementation (void) const +ACE_Asynch_Read_Dgram::implementation () const { return this->implementation_; } @@ -1260,25 +1260,25 @@ ACE_Asynch_Read_Dgram::Result::remote_address (ACE_Addr& addr) const } ACE_Message_Block* -ACE_Asynch_Read_Dgram::Result::message_block (void) const +ACE_Asynch_Read_Dgram::Result::message_block () const { return this->implementation ()->message_block (); } int -ACE_Asynch_Read_Dgram::Result::flags (void) const +ACE_Asynch_Read_Dgram::Result::flags () const { return this->implementation ()->flags (); } size_t -ACE_Asynch_Read_Dgram::Result::bytes_to_read (void) const +ACE_Asynch_Read_Dgram::Result::bytes_to_read () const { return this->implementation ()->bytes_to_read (); } ACE_HANDLE -ACE_Asynch_Read_Dgram::Result::handle (void) const +ACE_Asynch_Read_Dgram::Result::handle () const { return this->implementation ()->handle(); } @@ -1289,12 +1289,12 @@ ACE_Asynch_Read_Dgram::Result::Result (ACE_Asynch_Read_Dgram_Result_Impl *implem { } -ACE_Asynch_Read_Dgram::Result::~Result (void) +ACE_Asynch_Read_Dgram::Result::~Result () { } ACE_Asynch_Read_Dgram_Result_Impl * -ACE_Asynch_Read_Dgram::Result::implementation (void) const +ACE_Asynch_Read_Dgram::Result::implementation () const { return this->implementation_; } @@ -1302,12 +1302,12 @@ ACE_Asynch_Read_Dgram::Result::implementation (void) const // ************************************************************ -ACE_Asynch_Write_Dgram::ACE_Asynch_Write_Dgram (void) +ACE_Asynch_Write_Dgram::ACE_Asynch_Write_Dgram () : implementation_ (0) { } -ACE_Asynch_Write_Dgram::~ACE_Asynch_Write_Dgram (void) +ACE_Asynch_Write_Dgram::~ACE_Asynch_Write_Dgram () { // Delete the implementation. delete this->implementation_; @@ -1358,7 +1358,7 @@ ACE_Asynch_Write_Dgram::send (ACE_Message_Block *message_block, } ACE_Asynch_Operation_Impl * -ACE_Asynch_Write_Dgram::implementation (void) const +ACE_Asynch_Write_Dgram::implementation () const { return this->implementation_; } @@ -1366,7 +1366,7 @@ ACE_Asynch_Write_Dgram::implementation (void) const // ************************************************************ size_t -ACE_Asynch_Write_Dgram::Result::bytes_to_write (void) const +ACE_Asynch_Write_Dgram::Result::bytes_to_write () const { return this->implementation ()->bytes_to_write (); } @@ -1378,19 +1378,19 @@ ACE_Asynch_Write_Dgram::Result::message_block () const } int -ACE_Asynch_Write_Dgram::Result::flags (void) const +ACE_Asynch_Write_Dgram::Result::flags () const { return this->implementation ()->flags (); } ACE_HANDLE -ACE_Asynch_Write_Dgram::Result::handle (void) const +ACE_Asynch_Write_Dgram::Result::handle () const { return this->implementation ()->handle (); } ACE_Asynch_Write_Dgram_Result_Impl * -ACE_Asynch_Write_Dgram::Result::implementation (void) const +ACE_Asynch_Write_Dgram::Result::implementation () const { return this->implementation_; } @@ -1401,7 +1401,7 @@ ACE_Asynch_Write_Dgram::Result::Result (ACE_Asynch_Write_Dgram_Result_Impl *impl { } -ACE_Asynch_Write_Dgram::Result::~Result (void) +ACE_Asynch_Write_Dgram::Result::~Result () { } diff --git a/ACE/ace/Asynch_IO_Impl.cpp b/ACE/ace/Asynch_IO_Impl.cpp index 1f25a1ee7b9..209f11dac35 100644 --- a/ACE/ace/Asynch_IO_Impl.cpp +++ b/ACE/ace/Asynch_IO_Impl.cpp @@ -10,103 +10,103 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Asynch_Result_Impl::~ACE_Asynch_Result_Impl (void) +ACE_Asynch_Result_Impl::~ACE_Asynch_Result_Impl () { } -ACE_Asynch_Operation_Impl::~ACE_Asynch_Operation_Impl (void) +ACE_Asynch_Operation_Impl::~ACE_Asynch_Operation_Impl () { } -ACE_Asynch_Read_Stream_Impl::~ACE_Asynch_Read_Stream_Impl (void) +ACE_Asynch_Read_Stream_Impl::~ACE_Asynch_Read_Stream_Impl () { } -ACE_Asynch_Read_Stream_Result_Impl::~ACE_Asynch_Read_Stream_Result_Impl (void) +ACE_Asynch_Read_Stream_Result_Impl::~ACE_Asynch_Read_Stream_Result_Impl () { } -ACE_Asynch_Write_Stream_Impl::~ACE_Asynch_Write_Stream_Impl (void) +ACE_Asynch_Write_Stream_Impl::~ACE_Asynch_Write_Stream_Impl () { } -ACE_Asynch_Write_Stream_Result_Impl::~ACE_Asynch_Write_Stream_Result_Impl (void) +ACE_Asynch_Write_Stream_Result_Impl::~ACE_Asynch_Write_Stream_Result_Impl () { } -ACE_Asynch_Read_File_Impl::~ACE_Asynch_Read_File_Impl (void) +ACE_Asynch_Read_File_Impl::~ACE_Asynch_Read_File_Impl () { } -ACE_Asynch_Write_File_Impl::~ACE_Asynch_Write_File_Impl (void) +ACE_Asynch_Write_File_Impl::~ACE_Asynch_Write_File_Impl () { } -ACE_Asynch_Read_File_Result_Impl::~ACE_Asynch_Read_File_Result_Impl (void) +ACE_Asynch_Read_File_Result_Impl::~ACE_Asynch_Read_File_Result_Impl () { } -ACE_Asynch_Write_File_Result_Impl::~ACE_Asynch_Write_File_Result_Impl (void) +ACE_Asynch_Write_File_Result_Impl::~ACE_Asynch_Write_File_Result_Impl () { } -ACE_Asynch_Accept_Result_Impl::~ACE_Asynch_Accept_Result_Impl (void) +ACE_Asynch_Accept_Result_Impl::~ACE_Asynch_Accept_Result_Impl () { } -ACE_Asynch_Connect_Result_Impl::~ACE_Asynch_Connect_Result_Impl (void) +ACE_Asynch_Connect_Result_Impl::~ACE_Asynch_Connect_Result_Impl () { } -ACE_Asynch_Accept_Impl::~ACE_Asynch_Accept_Impl (void) +ACE_Asynch_Accept_Impl::~ACE_Asynch_Accept_Impl () { } -ACE_Asynch_Connect_Impl::~ACE_Asynch_Connect_Impl (void) +ACE_Asynch_Connect_Impl::~ACE_Asynch_Connect_Impl () { } -ACE_Asynch_Transmit_File_Impl::~ACE_Asynch_Transmit_File_Impl (void) +ACE_Asynch_Transmit_File_Impl::~ACE_Asynch_Transmit_File_Impl () { } -ACE_Asynch_Transmit_File_Result_Impl::~ACE_Asynch_Transmit_File_Result_Impl (void) +ACE_Asynch_Transmit_File_Result_Impl::~ACE_Asynch_Transmit_File_Result_Impl () { } -ACE_Asynch_Read_Dgram_Impl::~ACE_Asynch_Read_Dgram_Impl (void) +ACE_Asynch_Read_Dgram_Impl::~ACE_Asynch_Read_Dgram_Impl () { } -ACE_Asynch_Read_Dgram_Impl::ACE_Asynch_Read_Dgram_Impl (void) +ACE_Asynch_Read_Dgram_Impl::ACE_Asynch_Read_Dgram_Impl () { } -ACE_Asynch_Write_Dgram_Impl::~ACE_Asynch_Write_Dgram_Impl (void) +ACE_Asynch_Write_Dgram_Impl::~ACE_Asynch_Write_Dgram_Impl () { } -ACE_Asynch_Write_Dgram_Impl::ACE_Asynch_Write_Dgram_Impl (void) +ACE_Asynch_Write_Dgram_Impl::ACE_Asynch_Write_Dgram_Impl () { } //*********************************************** -ACE_Asynch_Read_Dgram_Result_Impl::~ACE_Asynch_Read_Dgram_Result_Impl (void) +ACE_Asynch_Read_Dgram_Result_Impl::~ACE_Asynch_Read_Dgram_Result_Impl () { } -ACE_Asynch_Read_Dgram_Result_Impl::ACE_Asynch_Read_Dgram_Result_Impl (void) +ACE_Asynch_Read_Dgram_Result_Impl::ACE_Asynch_Read_Dgram_Result_Impl () { } //*********************************************** -ACE_Asynch_Write_Dgram_Result_Impl::~ACE_Asynch_Write_Dgram_Result_Impl (void) +ACE_Asynch_Write_Dgram_Result_Impl::~ACE_Asynch_Write_Dgram_Result_Impl () { } -ACE_Asynch_Write_Dgram_Result_Impl::ACE_Asynch_Write_Dgram_Result_Impl (void) +ACE_Asynch_Write_Dgram_Result_Impl::ACE_Asynch_Write_Dgram_Result_Impl () { } diff --git a/ACE/ace/Asynch_Pseudo_Task.cpp b/ACE/ace/Asynch_Pseudo_Task.cpp index 0b6a14b60e5..72dff50ab0f 100644 --- a/ACE/ace/Asynch_Pseudo_Task.cpp +++ b/ACE/ace/Asynch_Pseudo_Task.cpp @@ -17,7 +17,7 @@ ACE_Asynch_Pseudo_Task::~ACE_Asynch_Pseudo_Task () } int -ACE_Asynch_Pseudo_Task::start (void) +ACE_Asynch_Pseudo_Task::start () { if (this->reactor_.initialized () == 0) ACELIB_ERROR_RETURN ((LM_ERROR, @@ -29,7 +29,7 @@ ACE_Asynch_Pseudo_Task::start (void) } int -ACE_Asynch_Pseudo_Task::stop (void) +ACE_Asynch_Pseudo_Task::stop () { if (this->thr_count () == 0) // already stopped return 0; @@ -43,7 +43,7 @@ ACE_Asynch_Pseudo_Task::stop (void) } int -ACE_Asynch_Pseudo_Task::svc (void) +ACE_Asynch_Pseudo_Task::svc () { #if !defined (ACE_WIN32) diff --git a/ACE/ace/Barrier.cpp b/ACE/ace/Barrier.cpp index 9eb70678533..430ff115476 100644 --- a/ACE/ace/Barrier.cpp +++ b/ACE/ace/Barrier.cpp @@ -22,7 +22,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Sub_Barrier) void -ACE_Sub_Barrier::dump (void) const +ACE_Sub_Barrier::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Sub_Barrier::dump"); @@ -47,7 +47,7 @@ ACE_Sub_Barrier::ACE_Sub_Barrier (unsigned int count, ACE_ALLOC_HOOK_DEFINE(ACE_Barrier) void -ACE_Barrier::dump (void) const +ACE_Barrier::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Barrier::dump"); @@ -77,7 +77,7 @@ ACE_Barrier::ACE_Barrier (unsigned int count, } int -ACE_Barrier::wait (void) +ACE_Barrier::wait () { ACE_TRACE ("ACE_Barrier::wait"); ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1); @@ -126,7 +126,7 @@ ACE_Barrier::wait (void) } int -ACE_Barrier::shutdown (void) +ACE_Barrier::shutdown () { ACE_TRACE ("ACE_Barrier::shutdown"); ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1); @@ -161,7 +161,7 @@ ACE_Thread_Barrier::ACE_Thread_Barrier (unsigned int count, } void -ACE_Thread_Barrier::dump (void) const +ACE_Thread_Barrier::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Thread_Barrier::dump"); diff --git a/ACE/ace/Base_Thread_Adapter.cpp b/ACE/ace/Base_Thread_Adapter.cpp index f965bac12af..b3a1f7bcd76 100644 --- a/ACE/ace/Base_Thread_Adapter.cpp +++ b/ACE/ace/Base_Thread_Adapter.cpp @@ -51,12 +51,12 @@ ACE_Base_Thread_Adapter::ACE_Base_Thread_Adapter ( #endif // ACE_USES_GPROF } -ACE_Base_Thread_Adapter::~ACE_Base_Thread_Adapter (void) +ACE_Base_Thread_Adapter::~ACE_Base_Thread_Adapter () { } void -ACE_Base_Thread_Adapter::inherit_log_msg (void) +ACE_Base_Thread_Adapter::inherit_log_msg () { if (ACE_Base_Thread_Adapter::inherit_log_msg_hook_ != 0) (*ACE_Base_Thread_Adapter::inherit_log_msg_hook_)( @@ -70,7 +70,7 @@ ACE_Base_Thread_Adapter::inherit_log_msg (void) } void -ACE_Base_Thread_Adapter::close_log_msg (void) +ACE_Base_Thread_Adapter::close_log_msg () { if (ACE_Base_Thread_Adapter::close_log_msg_hook_ != 0) (*ACE_Base_Thread_Adapter::close_log_msg_hook_) (); @@ -83,12 +83,12 @@ ACE_Base_Thread_Adapter::sync_log_msg (const ACE_TCHAR *prg) (*ACE_Base_Thread_Adapter::sync_log_msg_hook_) (prg); } -ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor (void) +ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor () { } ACE_OS_Thread_Descriptor * -ACE_Base_Thread_Adapter::thr_desc_log_msg (void) +ACE_Base_Thread_Adapter::thr_desc_log_msg () { if (ACE_Base_Thread_Adapter::thr_desc_log_msg_hook_ != 0) return (*ACE_Base_Thread_Adapter::thr_desc_log_msg_hook_) (); diff --git a/ACE/ace/Based_Pointer_Repository.cpp b/ACE/ace/Based_Pointer_Repository.cpp index 1f318131a56..3dd1a4e3e54 100644 --- a/ACE/ace/Based_Pointer_Repository.cpp +++ b/ACE/ace/Based_Pointer_Repository.cpp @@ -40,14 +40,14 @@ public: ACE_ALLOC_HOOK_DEFINE(ACE_Based_Pointer_Repository_Rep); -ACE_Based_Pointer_Repository::ACE_Based_Pointer_Repository (void) +ACE_Based_Pointer_Repository::ACE_Based_Pointer_Repository () { ACE_TRACE ("ACE_Based_Pointer_Repository::ACE_Based_Pointer_Repository"); ACE_NEW (this->rep_, ACE_Based_Pointer_Repository_Rep); } -ACE_Based_Pointer_Repository::~ACE_Based_Pointer_Repository (void) +ACE_Based_Pointer_Repository::~ACE_Based_Pointer_Repository () { ACE_TRACE ("ACE_Based_Pointer_Repository::~ACE_Based_Pointer_Repository"); delete this->rep_; diff --git a/ACE/ace/CDR_Stream.cpp b/ACE/ace/CDR_Stream.cpp index 3cb4169e532..f669788370f 100644 --- a/ACE/ace/CDR_Stream.cpp +++ b/ACE/ace/CDR_Stream.cpp @@ -687,7 +687,7 @@ ACE_OutputCDR::write_boolean_array (const ACE_CDR::Boolean* x, } char * -ACE_OutputCDR::write_long_placeholder (void) +ACE_OutputCDR::write_long_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::LONG_SIZE, buf) == 0) @@ -698,7 +698,7 @@ ACE_OutputCDR::write_long_placeholder (void) } char * -ACE_OutputCDR::write_short_placeholder (void) +ACE_OutputCDR::write_short_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::SHORT_SIZE, buf) == 0) @@ -709,7 +709,7 @@ ACE_OutputCDR::write_short_placeholder (void) } char * -ACE_OutputCDR::write_boolean_placeholder (void) +ACE_OutputCDR::write_boolean_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) @@ -720,7 +720,7 @@ ACE_OutputCDR::write_boolean_placeholder (void) } char * -ACE_OutputCDR::write_char_placeholder (void) +ACE_OutputCDR::write_char_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) @@ -731,7 +731,7 @@ ACE_OutputCDR::write_char_placeholder (void) } char * -ACE_OutputCDR::write_octet_placeholder (void) +ACE_OutputCDR::write_octet_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::OCTET_SIZE, buf) == 0) @@ -742,7 +742,7 @@ ACE_OutputCDR::write_octet_placeholder (void) } char * -ACE_OutputCDR::write_longlong_placeholder (void) +ACE_OutputCDR::write_longlong_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::LONGLONG_SIZE, buf) == 0) @@ -753,7 +753,7 @@ ACE_OutputCDR::write_longlong_placeholder (void) } char * -ACE_OutputCDR::write_float_placeholder (void) +ACE_OutputCDR::write_float_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::LONG_SIZE, buf) == 0) @@ -764,7 +764,7 @@ ACE_OutputCDR::write_float_placeholder (void) } char * -ACE_OutputCDR::write_double_placeholder (void) +ACE_OutputCDR::write_double_placeholder () { char *buf = 0; if (this->adjust (ACE_CDR::LONGLONG_SIZE, buf) == 0) @@ -984,7 +984,7 @@ ACE_OutputCDR::replace (ACE_CDR::Double x, char* loc) } int -ACE_OutputCDR::consolidate (void) +ACE_OutputCDR::consolidate () { // Optimize by only doing something if we need to if (this->current_ != &this->start_) @@ -1377,7 +1377,7 @@ ACE_InputCDR::ACE_InputCDR (const ACE_OutputCDR& rhs, } ACE_CDR::Boolean -ACE_InputCDR::skip_wchar (void) +ACE_InputCDR::skip_wchar () { if (static_cast<ACE_CDR::Short> (major_version_) == 1 && static_cast<ACE_CDR::Short> (minor_version_) == 2) @@ -2018,7 +2018,7 @@ ACE_InputCDR::read_16 (ACE_CDR::LongDouble *x) } ACE_CDR::Boolean -ACE_InputCDR::skip_string (void) +ACE_InputCDR::skip_string () { ACE_CDR::ULong len = 0; if (this->read_ulong (len)) @@ -2044,7 +2044,7 @@ ACE_InputCDR::skip_string (void) } ACE_CDR::Boolean -ACE_InputCDR::skip_wstring (void) +ACE_InputCDR::skip_wstring () { ACE_CDR::ULong len = 0; ACE_CDR::Boolean continue_skipping = read_ulong (len); @@ -2297,7 +2297,7 @@ ACE_InputCDR::clone_from (ACE_InputCDR &cdr) } ACE_Message_Block* -ACE_InputCDR::steal_contents (void) +ACE_InputCDR::steal_contents () { ACE_Message_Block* block = this->start_.clone (); this->start_.data_block (block->data_block ()->clone ()); @@ -2316,7 +2316,7 @@ ACE_InputCDR::steal_contents (void) } void -ACE_InputCDR::reset_contents (void) +ACE_InputCDR::reset_contents () { this->start_.data_block (this->start_.data_block ()->clone_nocopy ()); @@ -2347,7 +2347,7 @@ ACE_InputCDR::unregister_monitor (void) // -------------------------------------------------------------- -ACE_Char_Codeset_Translator::~ACE_Char_Codeset_Translator (void) +ACE_Char_Codeset_Translator::~ACE_Char_Codeset_Translator () { } @@ -2364,7 +2364,7 @@ ACE_Char_Codeset_Translator::read_string (ACE_InputCDR &cdr, // -------------------------------------------------------------- -ACE_WChar_Codeset_Translator::~ACE_WChar_Codeset_Translator (void) +ACE_WChar_Codeset_Translator::~ACE_WChar_Codeset_Translator () { } diff --git a/ACE/ace/Capabilities.cpp b/ACE/ace/Capabilities.cpp index 9ffceda2a91..43cd9c95ee8 100644 --- a/ACE/ace/Capabilities.cpp +++ b/ACE/ace/Capabilities.cpp @@ -13,16 +13,16 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_CapEntry::~ACE_CapEntry (void) +ACE_CapEntry::~ACE_CapEntry () { } -ACE_Capabilities::ACE_Capabilities (void) +ACE_Capabilities::ACE_Capabilities () : caps_ () { } -ACE_Capabilities::~ACE_Capabilities (void) +ACE_Capabilities::~ACE_Capabilities () { this->resetcaps (); } @@ -96,7 +96,7 @@ ACE_Capabilities::parse (const ACE_TCHAR *buf, int &cap) } void -ACE_Capabilities::resetcaps (void) +ACE_Capabilities::resetcaps () { for (CAPABILITIES_MAP::ITERATOR iter (this->caps_); !iter.done (); diff --git a/ACE/ace/Cleanup.cpp b/ACE/ace/Cleanup.cpp index 0e162c8cf3b..46b3c7e7582 100644 --- a/ACE/ace/Cleanup.cpp +++ b/ACE/ace/Cleanup.cpp @@ -20,7 +20,7 @@ ACE_Cleanup::cleanup (void *) delete this; } -ACE_Cleanup::~ACE_Cleanup (void) +ACE_Cleanup::~ACE_Cleanup () { } @@ -34,7 +34,7 @@ ACE_CLEANUP_DESTROYER_NAME (ACE_Cleanup *object, void *param) /*****************************************************************************/ -ACE_Cleanup_Info_Node::ACE_Cleanup_Info_Node (void) +ACE_Cleanup_Info_Node::ACE_Cleanup_Info_Node () : object_ (0), cleanup_hook_ (0), param_ (0), @@ -53,7 +53,7 @@ ACE_Cleanup_Info_Node::ACE_Cleanup_Info_Node (void *object, { } -ACE_Cleanup_Info_Node::~ACE_Cleanup_Info_Node (void) +ACE_Cleanup_Info_Node::~ACE_Cleanup_Info_Node () { if (this->name_) #if defined (ACE_HAS_ALLOC_HOOKS) @@ -82,11 +82,11 @@ ACE_Cleanup_Info_Node::operator!= (const ACE_Cleanup_Info_Node &o) const /*****************************************************************************/ -ACE_OS_Exit_Info::ACE_OS_Exit_Info (void) +ACE_OS_Exit_Info::ACE_OS_Exit_Info () { } -ACE_OS_Exit_Info::~ACE_OS_Exit_Info (void) +ACE_OS_Exit_Info::~ACE_OS_Exit_Info () { } @@ -153,7 +153,7 @@ ACE_OS_Exit_Info::remove (void *object) void -ACE_OS_Exit_Info::call_hooks (void) +ACE_OS_Exit_Info::call_hooks () { // Call all registered cleanup hooks, in reverse order of // registration. diff --git a/ACE/ace/Condition_Recursive_Thread_Mutex.cpp b/ACE/ace/Condition_Recursive_Thread_Mutex.cpp index e7a23dfe756..73e60ef7d20 100644 --- a/ACE/ace/Condition_Recursive_Thread_Mutex.cpp +++ b/ACE/ace/Condition_Recursive_Thread_Mutex.cpp @@ -17,13 +17,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL int -ACE_Condition<ACE_Recursive_Thread_Mutex>::remove (void) +ACE_Condition<ACE_Recursive_Thread_Mutex>::remove () { return ACE_OS::cond_destroy (&this->cond_); } void -ACE_Condition<ACE_Recursive_Thread_Mutex>::dump (void) const +ACE_Condition<ACE_Recursive_Thread_Mutex>::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Condition<MUTEX>::dump"); @@ -37,7 +37,7 @@ ACE_Condition<ACE_Recursive_Thread_Mutex>::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Condition<ACE_Recursive_Thread_Mutex>::~ACE_Condition (void) +ACE_Condition<ACE_Recursive_Thread_Mutex>::~ACE_Condition () { this->remove (); } @@ -109,19 +109,19 @@ ACE_Condition<ACE_Recursive_Thread_Mutex>::wait (ACE_Recursive_Thread_Mutex &mut } int -ACE_Condition<ACE_Recursive_Thread_Mutex>::signal (void) +ACE_Condition<ACE_Recursive_Thread_Mutex>::signal () { return ACE_OS::cond_signal (&this->cond_); } int -ACE_Condition<ACE_Recursive_Thread_Mutex>::broadcast (void) +ACE_Condition<ACE_Recursive_Thread_Mutex>::broadcast () { return ACE_OS::cond_broadcast (&this->cond_); } ACE_Recursive_Thread_Mutex & -ACE_Condition<ACE_Recursive_Thread_Mutex>::mutex (void) +ACE_Condition<ACE_Recursive_Thread_Mutex>::mutex () { return this->mutex_; } diff --git a/ACE/ace/Condition_Thread_Mutex.cpp b/ACE/ace/Condition_Thread_Mutex.cpp index 7e9c505d498..fbc64708bdc 100644 --- a/ACE/ace/Condition_Thread_Mutex.cpp +++ b/ACE/ace/Condition_Thread_Mutex.cpp @@ -22,7 +22,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Condition<ACE_Thread_Mutex>) void -ACE_Condition<ACE_Thread_Mutex>::dump (void) const +ACE_Condition<ACE_Thread_Mutex>::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::dump"); @@ -69,7 +69,7 @@ ACE_Condition<ACE_Thread_Mutex>::ACE_Condition (ACE_Thread_Mutex &m, ACE_TEXT ("ACE_Condition<ACE_Thread_Mutex>::ACE_Condition<ACE_Thread_Mutex>"))); } -ACE_Condition<ACE_Thread_Mutex>::~ACE_Condition (void) +ACE_Condition<ACE_Thread_Mutex>::~ACE_Condition () { // ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::~ACE_Condition<ACE_Thread_Mutex>"); this->remove (); @@ -80,7 +80,7 @@ ACE_Condition<ACE_Thread_Mutex>::~ACE_Condition (void) // <abstime> using the <cond_timedwait> function. int -ACE_Condition<ACE_Thread_Mutex>::wait (void) +ACE_Condition<ACE_Thread_Mutex>::wait () { // ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::wait"); return ACE_OS::cond_wait (&this->cond_, &this->mutex_.lock ()); @@ -104,14 +104,14 @@ ACE_Condition<ACE_Thread_Mutex>::wait (const ACE_Time_Value *abstime) } int -ACE_Condition<ACE_Thread_Mutex>::signal (void) +ACE_Condition<ACE_Thread_Mutex>::signal () { // ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::signal"); return ACE_OS::cond_signal (&this->cond_); } int -ACE_Condition<ACE_Thread_Mutex>::broadcast (void) +ACE_Condition<ACE_Thread_Mutex>::broadcast () { // ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::broadcast"); return ACE_OS::cond_broadcast (&this->cond_); diff --git a/ACE/ace/Configuration.cpp b/ACE/ace/Configuration.cpp index 10b0ad2b05b..9242671776b 100644 --- a/ACE/ace/Configuration.cpp +++ b/ACE/ace/Configuration.cpp @@ -19,36 +19,36 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Section_Key_Internal::ACE_Section_Key_Internal (void) +ACE_Section_Key_Internal::ACE_Section_Key_Internal () : ref_count_ (0) { } -ACE_Section_Key_Internal::~ACE_Section_Key_Internal (void) +ACE_Section_Key_Internal::~ACE_Section_Key_Internal () { } int -ACE_Section_Key_Internal::add_ref (void) +ACE_Section_Key_Internal::add_ref () { ++ref_count_; return 0; } int -ACE_Section_Key_Internal::dec_ref (void) +ACE_Section_Key_Internal::dec_ref () { if (!--ref_count_) delete this; return 0; } -ACE_Configuration_Section_Key::ACE_Configuration_Section_Key (void) +ACE_Configuration_Section_Key::ACE_Configuration_Section_Key () : key_ (0) { } -ACE_Configuration_Section_Key::~ACE_Configuration_Section_Key (void) +ACE_Configuration_Section_Key::~ACE_Configuration_Section_Key () { if (key_) key_->dec_ref (); @@ -88,12 +88,12 @@ ACE_Configuration_Section_Key::operator= (const ACE_Configuration_Section_Key& r ACE_TCHAR ACE_Configuration::NULL_String_ = '\0'; -ACE_Configuration::ACE_Configuration (void) +ACE_Configuration::ACE_Configuration () : root_ () { } -ACE_Configuration::~ACE_Configuration (void) +ACE_Configuration::~ACE_Configuration () { } @@ -178,7 +178,7 @@ ACE_Configuration::validate_value_name (const ACE_TCHAR* name) } const ACE_Configuration_Section_Key& -ACE_Configuration::root_section (void) const +ACE_Configuration::root_section () const { return root_; } @@ -1056,7 +1056,7 @@ ACE_Configuration_Win32Registry::resolve_key (HKEY hKey, /////////////////////////////////////////////////////////////// -ACE_Configuration_Value_IntId::ACE_Configuration_Value_IntId (void) +ACE_Configuration_Value_IntId::ACE_Configuration_Value_IntId () : type_ (ACE_Configuration::INVALID), length_ (0) { @@ -1091,7 +1091,7 @@ ACE_Configuration_Value_IntId::ACE_Configuration_Value_IntId (const ACE_Configur { } -ACE_Configuration_Value_IntId::~ACE_Configuration_Value_IntId (void) +ACE_Configuration_Value_IntId::~ACE_Configuration_Value_IntId () { } @@ -1115,7 +1115,7 @@ ACE_Configuration_Value_IntId::free (ACE_Allocator *alloc) // Do nothing in other cases... } -ACE_Configuration_ExtId::ACE_Configuration_ExtId (void) +ACE_Configuration_ExtId::ACE_Configuration_ExtId () : name_ (0) { } @@ -1130,7 +1130,7 @@ ACE_Configuration_ExtId::ACE_Configuration_ExtId (const ACE_Configuration_ExtId& { } -ACE_Configuration_ExtId::~ACE_Configuration_ExtId (void) +ACE_Configuration_ExtId::~ACE_Configuration_ExtId () { } @@ -1155,7 +1155,7 @@ ACE_Configuration_ExtId::operator!= (const ACE_Configuration_ExtId& rhs) const } u_long -ACE_Configuration_ExtId::hash (void) const +ACE_Configuration_ExtId::hash () const { ACE_TString temp (name_, 0, false); return temp.hash (); @@ -1169,7 +1169,7 @@ ACE_Configuration_ExtId::free (ACE_Allocator *alloc) /////////////////////////////////////////////////////////////////////// -ACE_Configuration_Section_IntId::ACE_Configuration_Section_IntId (void) +ACE_Configuration_Section_IntId::ACE_Configuration_Section_IntId () : value_hash_map_ (0), section_hash_map_ (0) { @@ -1233,7 +1233,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Configuration_Section_Key_Heap) ////////////////////////////////////////////////////////////////////////////// -ACE_Configuration_Heap::ACE_Configuration_Heap (void) +ACE_Configuration_Heap::ACE_Configuration_Heap () : allocator_ (0), index_ (0), default_map_size_ (0) @@ -1244,7 +1244,7 @@ ACE_Configuration_Heap::ACE_Configuration_Heap (void) root_ = ACE_Configuration_Section_Key (temp); } -ACE_Configuration_Heap::~ACE_Configuration_Heap (void) +ACE_Configuration_Heap::~ACE_Configuration_Heap () { if (allocator_) allocator_->sync (); @@ -1314,7 +1314,7 @@ ACE_Configuration_Heap::open (const ACE_TCHAR* file_name, } int -ACE_Configuration_Heap::create_index (void) +ACE_Configuration_Heap::create_index () { void *section_index = 0; diff --git a/ACE/ace/Configuration_Import_Export.cpp b/ACE/ace/Configuration_Import_Export.cpp index 3b91d3226ad..a9f416cc6ec 100644 --- a/ACE/ace/Configuration_Import_Export.cpp +++ b/ACE/ace/Configuration_Import_Export.cpp @@ -11,7 +11,7 @@ ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base (ACE_Configuration& config) { } -ACE_Config_ImpExp_Base::~ACE_Config_ImpExp_Base (void) +ACE_Config_ImpExp_Base::~ACE_Config_ImpExp_Base () { } @@ -20,7 +20,7 @@ ACE_Registry_ImpExp::ACE_Registry_ImpExp (ACE_Configuration& config) { } -ACE_Registry_ImpExp::~ACE_Registry_ImpExp (void) +ACE_Registry_ImpExp::~ACE_Registry_ImpExp () { } @@ -468,7 +468,7 @@ ACE_Ini_ImpExp::ACE_Ini_ImpExp (ACE_Configuration& config) { } -ACE_Ini_ImpExp::~ACE_Ini_ImpExp (void) +ACE_Ini_ImpExp::~ACE_Ini_ImpExp () { } diff --git a/ACE/ace/Connection_Recycling_Strategy.cpp b/ACE/ace/Connection_Recycling_Strategy.cpp index b5619a67491..19ea7fa7357 100644 --- a/ACE/ace/Connection_Recycling_Strategy.cpp +++ b/ACE/ace/Connection_Recycling_Strategy.cpp @@ -2,11 +2,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Connection_Recycling_Strategy::ACE_Connection_Recycling_Strategy (void) +ACE_Connection_Recycling_Strategy::ACE_Connection_Recycling_Strategy () { } -ACE_Connection_Recycling_Strategy::~ACE_Connection_Recycling_Strategy (void) +ACE_Connection_Recycling_Strategy::~ACE_Connection_Recycling_Strategy () { } diff --git a/ACE/ace/Copy_Disabled.cpp b/ACE/ace/Copy_Disabled.cpp index 59c6ba7af97..57fdb0df0f8 100644 --- a/ACE/ace/Copy_Disabled.cpp +++ b/ACE/ace/Copy_Disabled.cpp @@ -8,7 +8,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Copy_Disabled::ACE_Copy_Disabled (void) +ACE_Copy_Disabled::ACE_Copy_Disabled () { } diff --git a/ACE/ace/DEV.cpp b/ACE/ace/DEV.cpp index 08a7e581f59..ca87efd7056 100644 --- a/ACE/ace/DEV.cpp +++ b/ACE/ace/DEV.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_DEV) void -ACE_DEV::dump (void) const +ACE_DEV::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_DEV::dump"); @@ -26,7 +26,7 @@ ACE_DEV::dump (void) const // This is the do-nothing constructor. -ACE_DEV::ACE_DEV (void) +ACE_DEV::ACE_DEV () { ACE_TRACE ("ACE_DEV::ACE_DEV"); } @@ -34,7 +34,7 @@ ACE_DEV::ACE_DEV (void) // Close the device int -ACE_DEV::close (void) +ACE_DEV::close () { ACE_TRACE ("ACE_DEV::close"); int result = ACE_OS::close (this->get_handle ()); diff --git a/ACE/ace/DEV_Addr.cpp b/ACE/ace/DEV_Addr.cpp index c5c2cc3bc53..90cedc0076b 100644 --- a/ACE/ace/DEV_Addr.cpp +++ b/ACE/ace/DEV_Addr.cpp @@ -27,7 +27,7 @@ ACE_DEV_Addr::addr_to_string (ACE_TCHAR *s, size_t len) const // Return a pointer to the address. void * -ACE_DEV_Addr::get_addr (void) const +ACE_DEV_Addr::get_addr () const { ACE_TRACE ("ACE_DEV_Addr::get_addr"); @@ -35,7 +35,7 @@ ACE_DEV_Addr::get_addr (void) const } void -ACE_DEV_Addr::dump (void) const +ACE_DEV_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_DEV_Addr::dump"); @@ -48,7 +48,7 @@ ACE_DEV_Addr::dump (void) const // Do nothing constructor. -ACE_DEV_Addr::ACE_DEV_Addr (void) +ACE_DEV_Addr::ACE_DEV_Addr () : ACE_Addr (AF_DEV, sizeof this->devname_) { ACE_TRACE ("ACE_DEV_Addr::ACE_DEV_Addr"); diff --git a/ACE/ace/DEV_Connector.cpp b/ACE/ace/DEV_Connector.cpp index 159e5ecee19..ecbe0a702c7 100644 --- a/ACE/ace/DEV_Connector.cpp +++ b/ACE/ace/DEV_Connector.cpp @@ -14,14 +14,14 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_DEV_Connector) void -ACE_DEV_Connector::dump (void) const +ACE_DEV_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_DEV_Connector::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_DEV_Connector::ACE_DEV_Connector (void) +ACE_DEV_Connector::ACE_DEV_Connector () { ACE_TRACE ("ACE_DEV_Connector::ACE_DEV_Connector"); } diff --git a/ACE/ace/DEV_IO.cpp b/ACE/ace/DEV_IO.cpp index f1dcda42978..87394d9dc1b 100644 --- a/ACE/ace/DEV_IO.cpp +++ b/ACE/ace/DEV_IO.cpp @@ -38,7 +38,7 @@ ACE_DEV_IO::get_remote_addr (ACE_DEV_Addr &addr) const } void -ACE_DEV_IO::dump (void) const +ACE_DEV_IO::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_DEV_IO::dump"); @@ -51,7 +51,7 @@ ACE_DEV_IO::dump (void) const // Simple-minded do nothing constructor. -ACE_DEV_IO::ACE_DEV_IO (void) +ACE_DEV_IO::ACE_DEV_IO () { ACE_TRACE ("ACE_DEV_IO::ACE_DEV_IO"); } diff --git a/ACE/ace/DLL.cpp b/ACE/ace/DLL.cpp index 998a52a8827..27a0e83d40d 100644 --- a/ACE/ace/DLL.cpp +++ b/ACE/ace/DLL.cpp @@ -91,7 +91,7 @@ ACE_DLL::ACE_DLL (const ACE_TCHAR *dll_name, // the close_handle_on_destruction value specified which is stored in // close_handle_on_destruction_. -ACE_DLL::~ACE_DLL (void) +ACE_DLL::~ACE_DLL () { ACE_TRACE ("ACE_DLL::~ACE_DLL"); @@ -211,7 +211,7 @@ ACE_DLL::symbol (const ACE_TCHAR *sym_name, int ignore_errors) // shared object is now disassociated form the current process. int -ACE_DLL::close (void) +ACE_DLL::close () { ACE_TRACE ("ACE_DLL::close"); @@ -239,7 +239,7 @@ ACE_DLL::close (void) // This method is used return the last error of a library operation. ACE_TCHAR * -ACE_DLL::error (void) const +ACE_DLL::error () const { ACE_TRACE ("ACE_DLL::error"); if (this->error_) diff --git a/ACE/ace/DLL_Manager.cpp b/ACE/ace/DLL_Manager.cpp index 311a6768bf5..d3cbb6e7321 100644 --- a/ACE/ace/DLL_Manager.cpp +++ b/ACE/ace/DLL_Manager.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL sig_atomic_t ACE_DLL_Handle::open_called_ = 0; -ACE_DLL_Handle::ACE_DLL_Handle (void) +ACE_DLL_Handle::ACE_DLL_Handle () : refcount_ (0), dll_name_ (0), handle_ (ACE_SHLIB_INVALID_HANDLE) @@ -25,7 +25,7 @@ ACE_DLL_Handle::ACE_DLL_Handle (void) ACE_TRACE ("ACE_DLL_Handle::ACE_DLL_Handle"); } -ACE_DLL_Handle::~ACE_DLL_Handle (void) +ACE_DLL_Handle::~ACE_DLL_Handle () { ACE_TRACE ("ACE_DLL_Handle::~ACE_DLL_Handle"); this->close (1); @@ -39,7 +39,7 @@ ACE_DLL_Handle::~ACE_DLL_Handle (void) ACE_ALLOC_HOOK_DEFINE(ACE_DLL_Handle) const ACE_TCHAR * -ACE_DLL_Handle::dll_name (void) const +ACE_DLL_Handle::dll_name () const { ACE_TRACE ("ACE_DLL_Handle::dll_name"); return this->dll_name_; @@ -263,7 +263,7 @@ ACE_DLL_Handle::close (int unload) } sig_atomic_t -ACE_DLL_Handle::refcount (void) const +ACE_DLL_Handle::refcount () const { return this->refcount_; } @@ -518,7 +518,7 @@ ACE_DLL_Manager::instance (int size) } void -ACE_DLL_Manager::close_singleton (void) +ACE_DLL_Manager::close_singleton () { ACE_TRACE ("ACE_DLL_Manager::close_singleton"); @@ -543,7 +543,7 @@ ACE_DLL_Manager::ACE_DLL_Manager (int size) ACE_TEXT ("handle_vector_.\n"))); } -ACE_DLL_Manager::~ACE_DLL_Manager (void) +ACE_DLL_Manager::~ACE_DLL_Manager () { ACE_TRACE ("ACE_DLL_Manager::~ACE_DLL_Manager"); @@ -629,7 +629,7 @@ ACE_DLL_Manager::close_dll (const ACE_TCHAR *dll_name) } u_long -ACE_DLL_Manager::unload_policy (void) const +ACE_DLL_Manager::unload_policy () const { ACE_TRACE ("ACE_DLL_Manager::unload_policy"); return this->unload_policy_; @@ -686,7 +686,7 @@ ACE_DLL_Manager::open (int size) } int -ACE_DLL_Manager::close (void) +ACE_DLL_Manager::close () { ACE_TRACE ("ACE_DLL_Manager::close"); diff --git a/ACE/ace/Dev_Poll_Reactor.cpp b/ACE/ace/Dev_Poll_Reactor.cpp index 0fbd01f8efc..7dcc9f995ce 100644 --- a/ACE/ace/Dev_Poll_Reactor.cpp +++ b/ACE/ace/Dev_Poll_Reactor.cpp @@ -46,7 +46,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Dev_Poll_Reactor) ACE_ALLOC_HOOK_DEFINE(ACE_Dev_Poll_Reactor::Event_Tuple) ACE_ALLOC_HOOK_DEFINE(ACE_Dev_Poll_Reactor_Notify) -ACE_Dev_Poll_Reactor_Notify::ACE_Dev_Poll_Reactor_Notify (void) +ACE_Dev_Poll_Reactor_Notify::ACE_Dev_Poll_Reactor_Notify () : dp_reactor_ (0) , notification_pipe_ () , max_notify_iterations_ (-1) @@ -111,7 +111,7 @@ ACE_Dev_Poll_Reactor_Notify::open (ACE_Reactor_Impl *r, } int -ACE_Dev_Poll_Reactor_Notify::close (void) +ACE_Dev_Poll_Reactor_Notify::close () { ACE_TRACE ("ACE_Dev_Poll_Reactor_Notify::close"); @@ -292,7 +292,7 @@ ACE_Dev_Poll_Reactor_Notify::handle_input (ACE_HANDLE /*handle*/) } ACE_HANDLE -ACE_Dev_Poll_Reactor_Notify::notify_handle (void) +ACE_Dev_Poll_Reactor_Notify::notify_handle () { ACE_TRACE ("ACE_Dev_Poll_Reactor_Notify::notify_handle"); @@ -364,7 +364,7 @@ ACE_Dev_Poll_Reactor_Notify::max_notify_iterations (int iterations) } int -ACE_Dev_Poll_Reactor_Notify::max_notify_iterations (void) +ACE_Dev_Poll_Reactor_Notify::max_notify_iterations () { ACE_TRACE ("ACE_Dev_Poll_Reactor_Notify::max_notify_iterations"); @@ -390,7 +390,7 @@ ACE_Dev_Poll_Reactor_Notify::purge_pending_notifications ( } void -ACE_Dev_Poll_Reactor_Notify::dump (void) const +ACE_Dev_Poll_Reactor_Notify::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dev_Poll_Reactor_Notify::dump"); @@ -415,7 +415,7 @@ ACE_Dev_Poll_Reactor_Notify::dequeue_one (ACE_Notification_Buffer &nb) // ----------------------------------------------------------------- -ACE_Dev_Poll_Reactor::Handler_Repository::Handler_Repository (void) +ACE_Dev_Poll_Reactor::Handler_Repository::Handler_Repository () : size_ (0), max_size_ (0), handlers_ (0) @@ -469,7 +469,7 @@ ACE_Dev_Poll_Reactor::Handler_Repository::open (size_t size) } int -ACE_Dev_Poll_Reactor::Handler_Repository::unbind_all (void) +ACE_Dev_Poll_Reactor::Handler_Repository::unbind_all () { ACE_TRACE ("ACE_Dev_Poll_Reactor::Handler_Repository::unbind_all"); @@ -495,7 +495,7 @@ ACE_Dev_Poll_Reactor::Handler_Repository::unbind_all (void) } int -ACE_Dev_Poll_Reactor::Handler_Repository::close (void) +ACE_Dev_Poll_Reactor::Handler_Repository::close () { ACE_TRACE ("ACE_Dev_Poll_Reactor::Handler_Repository::close"); @@ -663,7 +663,7 @@ ACE_Dev_Poll_Reactor::ACE_Dev_Poll_Reactor (size_t size, ACE_TEXT ("failed inside ACE_Dev_Poll_Reactor::CTOR"))); } -ACE_Dev_Poll_Reactor::~ACE_Dev_Poll_Reactor (void) +ACE_Dev_Poll_Reactor::~ACE_Dev_Poll_Reactor () { ACE_TRACE ("ACE_Dev_Poll_Reactor::~ACE_Dev_Poll_Reactor"); @@ -818,13 +818,13 @@ ACE_Dev_Poll_Reactor::timer_queue (ACE_Timer_Queue *tq) } ACE_Timer_Queue * -ACE_Dev_Poll_Reactor::timer_queue (void) const +ACE_Dev_Poll_Reactor::timer_queue () const { return this->timer_queue_; } int -ACE_Dev_Poll_Reactor::close (void) +ACE_Dev_Poll_Reactor::close () { ACE_TRACE ("ACE_Dev_Poll_Reactor::close"); @@ -1381,7 +1381,7 @@ ACE_Dev_Poll_Reactor::alertable_handle_events (ACE_Time_Value &max_wait_time) } int -ACE_Dev_Poll_Reactor::deactivated (void) +ACE_Dev_Poll_Reactor::deactivated () { return this->deactivated_; } @@ -1747,7 +1747,7 @@ ACE_Dev_Poll_Reactor::suspend_handler (const ACE_Handle_Set &handles) } int -ACE_Dev_Poll_Reactor::suspend_handlers (void) +ACE_Dev_Poll_Reactor::suspend_handlers () { ACE_TRACE ("ACE_Dev_Poll_Reactor::suspend_handlers"); @@ -1858,7 +1858,7 @@ ACE_Dev_Poll_Reactor::resume_handler (const ACE_Handle_Set &handles) } int -ACE_Dev_Poll_Reactor::resume_handlers (void) +ACE_Dev_Poll_Reactor::resume_handlers () { ACE_TRACE ("ACE_Dev_Poll_Reactor::resume_handlers"); @@ -1932,7 +1932,7 @@ ACE_Dev_Poll_Reactor::resume_handler_i (ACE_HANDLE handle) } int -ACE_Dev_Poll_Reactor::resumable_handler (void) +ACE_Dev_Poll_Reactor::resumable_handler () { // @@ Is this correct? @@ -1940,7 +1940,7 @@ ACE_Dev_Poll_Reactor::resumable_handler (void) } bool -ACE_Dev_Poll_Reactor::uses_event_associations (void) +ACE_Dev_Poll_Reactor::uses_event_associations () { // Since the Dev_Poll_Reactor does not do any event associations, // this method always return false. @@ -2078,7 +2078,7 @@ ACE_Dev_Poll_Reactor::max_notify_iterations (int iterations) } int -ACE_Dev_Poll_Reactor::max_notify_iterations (void) +ACE_Dev_Poll_Reactor::max_notify_iterations () { ACE_TRACE ("ACE_Dev_Poll_Reactor::max_notify_iterations"); @@ -2156,7 +2156,7 @@ ACE_Dev_Poll_Reactor::handler (int signum, } bool -ACE_Dev_Poll_Reactor::initialized (void) +ACE_Dev_Poll_Reactor::initialized () { ACE_TRACE ("ACE_Dev_Poll_Reactor::initialized"); @@ -2166,13 +2166,13 @@ ACE_Dev_Poll_Reactor::initialized (void) } size_t -ACE_Dev_Poll_Reactor::size (void) const +ACE_Dev_Poll_Reactor::size () const { return this->handler_rep_.size (); } ACE_Lock & -ACE_Dev_Poll_Reactor::lock (void) +ACE_Dev_Poll_Reactor::lock () { ACE_TRACE ("ACE_Dev_Poll_Reactor::lock"); @@ -2180,7 +2180,7 @@ ACE_Dev_Poll_Reactor::lock (void) } void -ACE_Dev_Poll_Reactor::wakeup_all_threads (void) +ACE_Dev_Poll_Reactor::wakeup_all_threads () { ACE_TRACE ("ACE_Dev_Poll_Reactor::wakeup_all_threads"); @@ -2215,7 +2215,7 @@ ACE_Dev_Poll_Reactor::owner (ACE_thread_t * /* owner */) } bool -ACE_Dev_Poll_Reactor::restart (void) +ACE_Dev_Poll_Reactor::restart () { ACE_TRACE ("ACE_Dev_Poll_Reactor::restart"); @@ -2243,7 +2243,7 @@ ACE_Dev_Poll_Reactor::requeue_position (int) } int -ACE_Dev_Poll_Reactor::requeue_position (void) +ACE_Dev_Poll_Reactor::requeue_position () { ACE_TRACE ("ACE_Dev_Poll_Reactor::requeue_position"); @@ -2432,7 +2432,7 @@ ACE_Dev_Poll_Reactor::ready_ops (ACE_HANDLE /* handle */, } void -ACE_Dev_Poll_Reactor::dump (void) const +ACE_Dev_Poll_Reactor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dev_Poll_Reactor::dump"); diff --git a/ACE/ace/Dirent_Selector.cpp b/ACE/ace/Dirent_Selector.cpp index f16d1da685e..5d7279fde9e 100644 --- a/ACE/ace/Dirent_Selector.cpp +++ b/ACE/ace/Dirent_Selector.cpp @@ -15,13 +15,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Construction/Destruction -ACE_Dirent_Selector::ACE_Dirent_Selector (void) +ACE_Dirent_Selector::ACE_Dirent_Selector () : namelist_ (0), n_ (0) { } -ACE_Dirent_Selector::~ACE_Dirent_Selector (void) +ACE_Dirent_Selector::~ACE_Dirent_Selector () { // Free up any allocated resources. this->close(); @@ -37,7 +37,7 @@ ACE_Dirent_Selector::open (const ACE_TCHAR *dir, } int -ACE_Dirent_Selector::close (void) +ACE_Dirent_Selector::close () { for (--n_; n_ >= 0; --n_) { diff --git a/ACE/ace/Dump.cpp b/ACE/ace/Dump.cpp index 576417e8150..ba98ae19075 100644 --- a/ACE/ace/Dump.cpp +++ b/ACE/ace/Dump.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Implementations (very simple for now...) -ACE_Dumpable::~ACE_Dumpable (void) +ACE_Dumpable::~ACE_Dumpable () { ACE_TRACE ("ACE_Dumpable::~ACE_Dumpable"); } @@ -47,7 +47,7 @@ ACE_Dumpable_Ptr::operator= (const ACE_Dumpable *dumper) const } } -ACE_ODB::ACE_ODB (void) +ACE_ODB::ACE_ODB () // Let the Tuple default constructor initialize object_table_ : current_size_ (0) { @@ -57,7 +57,7 @@ ACE_ODB::ACE_ODB (void) ACE_ALLOC_HOOK_DEFINE(ACE_ODB) ACE_ODB * -ACE_ODB::instance (void) +ACE_ODB::instance () { ACE_TRACE ("ACE_ODB::instance"); @@ -78,7 +78,7 @@ ACE_ODB::instance (void) } void -ACE_ODB::dump_objects (void) +ACE_ODB::dump_objects () { ACE_TRACE ("ACE_ODB::dump_objects"); for (int i = 0; i < this->current_size_; i++) diff --git a/ACE/ace/Dynamic.cpp b/ACE/ace/Dynamic.cpp index f6818cf2af8..0fce1544182 100644 --- a/ACE/ace/Dynamic.cpp +++ b/ACE/ace/Dynamic.cpp @@ -10,7 +10,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Dynamic::ACE_Dynamic (void) +ACE_Dynamic::ACE_Dynamic () : is_dynamic_ (false) { ACE_TRACE ("ACE_Dynamic::ACE_Dynamic"); @@ -19,7 +19,7 @@ ACE_Dynamic::ACE_Dynamic (void) ACE_ALLOC_HOOK_DEFINE(ACE_Dynamic) /* static */ ACE_Dynamic * -ACE_Dynamic::instance (void) +ACE_Dynamic::instance () { return ACE_TSS_Singleton<ACE_Dynamic, ACE_SYNCH_NULL_MUTEX>::instance (); } diff --git a/ACE/ace/Dynamic_Message_Strategy.cpp b/ACE/ace/Dynamic_Message_Strategy.cpp index 35802fdbff2..600e9afc60a 100644 --- a/ACE/ace/Dynamic_Message_Strategy.cpp +++ b/ACE/ace/Dynamic_Message_Strategy.cpp @@ -29,7 +29,7 @@ ACE_Dynamic_Message_Strategy::ACE_Dynamic_Message_Strategy (unsigned long static // dtor -ACE_Dynamic_Message_Strategy::~ACE_Dynamic_Message_Strategy (void) +ACE_Dynamic_Message_Strategy::~ACE_Dynamic_Message_Strategy () { } @@ -82,7 +82,7 @@ ACE_Dynamic_Message_Strategy::priority_status (ACE_Message_Block & mb, // Dump the state of the strategy. void -ACE_Dynamic_Message_Strategy::dump (void) const +ACE_Dynamic_Message_Strategy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dynamic_Message_Strategy::dump"); @@ -123,7 +123,7 @@ ACE_Deadline_Message_Strategy::ACE_Deadline_Message_Strategy (unsigned long stat { } -ACE_Deadline_Message_Strategy::~ACE_Deadline_Message_Strategy (void) +ACE_Deadline_Message_Strategy::~ACE_Deadline_Message_Strategy () { } @@ -138,7 +138,7 @@ ACE_Deadline_Message_Strategy::convert_priority (ACE_Time_Value & priority, // dynamic priority conversion function based on time to deadline void -ACE_Deadline_Message_Strategy::dump (void) const +ACE_Deadline_Message_Strategy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Deadline_Message_Strategy::dump"); @@ -165,7 +165,7 @@ ACE_Laxity_Message_Strategy::ACE_Laxity_Message_Strategy (unsigned long static_b { } -ACE_Laxity_Message_Strategy::~ACE_Laxity_Message_Strategy (void) +ACE_Laxity_Message_Strategy::~ACE_Laxity_Message_Strategy () { } @@ -181,7 +181,7 @@ ACE_Laxity_Message_Strategy::convert_priority (ACE_Time_Value & priority, // dynamic priority conversion function based on laxity void -ACE_Laxity_Message_Strategy::dump (void) const +ACE_Laxity_Message_Strategy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Laxity_Message_Strategy::dump"); diff --git a/ACE/ace/Dynamic_Service_Base.cpp b/ACE/ace/Dynamic_Service_Base.cpp index d38f1a5cd9f..e0912b1df58 100644 --- a/ACE/ace/Dynamic_Service_Base.cpp +++ b/ACE/ace/Dynamic_Service_Base.cpp @@ -10,7 +10,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Dynamic_Service_Base::dump (void) const +ACE_Dynamic_Service_Base::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dynamic_Service_Base::dump"); diff --git a/ACE/ace/Dynamic_Service_Dependency.cpp b/ACE/ace/Dynamic_Service_Dependency.cpp index 0a7e9e03d74..c94e7df35fe 100644 --- a/ACE/ace/Dynamic_Service_Dependency.cpp +++ b/ACE/ace/Dynamic_Service_Dependency.cpp @@ -18,7 +18,7 @@ ACE_Dynamic_Service_Dependency::ACE_Dynamic_Service_Dependency (const ACE_Servic } -ACE_Dynamic_Service_Dependency::~ACE_Dynamic_Service_Dependency (void) +ACE_Dynamic_Service_Dependency::~ACE_Dynamic_Service_Dependency () { if (ACE::debug ()) ACELIB_DEBUG ((LM_DEBUG, diff --git a/ACE/ace/Event_Base.cpp b/ACE/ace/Event_Base.cpp index 3ec4ea02be9..31e2249acf8 100644 --- a/ACE/ace/Event_Base.cpp +++ b/ACE/ace/Event_Base.cpp @@ -18,13 +18,13 @@ ACE_Event_Base::ACE_Event_Base () { } -ACE_Event_Base::~ACE_Event_Base (void) +ACE_Event_Base::~ACE_Event_Base () { this->remove (); } int -ACE_Event_Base::remove (void) +ACE_Event_Base::remove () { int result = 0; if (!this->removed_) @@ -36,7 +36,7 @@ ACE_Event_Base::remove (void) } int -ACE_Event_Base::wait (void) +ACE_Event_Base::wait () { return ACE_OS::event_wait (&this->handle_); } @@ -50,25 +50,25 @@ ACE_Event_Base::wait (const ACE_Time_Value *abstime, int use_absolute_time) } int -ACE_Event_Base::signal (void) +ACE_Event_Base::signal () { return ACE_OS::event_signal (&this->handle_); } int -ACE_Event_Base::pulse (void) +ACE_Event_Base::pulse () { return ACE_OS::event_pulse (&this->handle_); } int -ACE_Event_Base::reset (void) +ACE_Event_Base::reset () { return ACE_OS::event_reset (&this->handle_); } void -ACE_Event_Base::dump (void) const +ACE_Event_Base::dump () const { #if defined (ACE_HAS_DUMP) ACELIB_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this)); diff --git a/ACE/ace/Event_Handler.cpp b/ACE/ace/Event_Handler.cpp index fc360a91e05..0a2bb21f52b 100644 --- a/ACE/ace/Event_Handler.cpp +++ b/ACE/ace/Event_Handler.cpp @@ -22,14 +22,14 @@ ACE_Event_Handler::ACE_Event_Handler (ACE_Reactor *r, // ACE_TRACE ("ACE_Event_Handler::ACE_Event_Handler"); } -ACE_Event_Handler::~ACE_Event_Handler (void) +ACE_Event_Handler::~ACE_Event_Handler () { // ACE_TRACE ("ACE_Event_Handler::~ACE_Event_Handler"); } // Gets the file descriptor associated with this I/O device. ACE_HANDLE -ACE_Event_Handler::get_handle (void) const +ACE_Event_Handler::get_handle () const { ACE_TRACE ("ACE_Event_Handler::get_handle"); return ACE_INVALID_HANDLE; @@ -44,7 +44,7 @@ ACE_Event_Handler::set_handle (ACE_HANDLE) // Gets the priority of this handler. int -ACE_Event_Handler::priority (void) const +ACE_Event_Handler::priority () const { ACE_TRACE ("ACE_Event_Handler::priority"); return this->priority_; @@ -116,7 +116,7 @@ ACE_Event_Handler::handle_signal (int, siginfo_t *, ucontext_t *) } int -ACE_Event_Handler::resume_handler (void) +ACE_Event_Handler::resume_handler () { ACE_TRACE ("ACE_Event_Handler::resume_handler"); @@ -147,21 +147,21 @@ ACE_Event_Handler::reactor (ACE_Reactor *reactor) } ACE_Reactor * -ACE_Event_Handler::reactor (void) const +ACE_Event_Handler::reactor () const { ACE_TRACE ("ACE_Event_Handler::reactor"); return this->reactor_; } ACE_Reactor_Timer_Interface * -ACE_Event_Handler::reactor_timer_interface (void) const +ACE_Event_Handler::reactor_timer_interface () const { ACE_TRACE ("ACE_Event_Handler::reactor_timer_interface"); return this->reactor_; } ACE_Event_Handler::Reference_Count -ACE_Event_Handler::add_reference (void) +ACE_Event_Handler::add_reference () { bool const reference_counting_required = this->reference_counting_policy ().value () == @@ -174,7 +174,7 @@ ACE_Event_Handler::add_reference (void) } ACE_Event_Handler::Reference_Count -ACE_Event_Handler::remove_reference (void) +ACE_Event_Handler::remove_reference () { bool const reference_counting_required = this->reference_counting_policy ().value () == @@ -195,7 +195,7 @@ ACE_Event_Handler::remove_reference (void) } } -ACE_Event_Handler::Policy::~Policy (void) +ACE_Event_Handler::Policy::~Policy () { } @@ -205,7 +205,7 @@ ACE_Event_Handler::Reference_Counting_Policy::Reference_Counting_Policy (Referen } ACE_Event_Handler::Reference_Counting_Policy::Value -ACE_Event_Handler::Reference_Counting_Policy::value (void) const +ACE_Event_Handler::Reference_Counting_Policy::value () const { return this->value_; } @@ -217,7 +217,7 @@ ACE_Event_Handler::Reference_Counting_Policy::value (ACE_Event_Handler::Referenc } ACE_Event_Handler::Reference_Counting_Policy & -ACE_Event_Handler::reference_counting_policy (void) +ACE_Event_Handler::reference_counting_policy () { return this->reference_counting_policy_; } @@ -277,7 +277,7 @@ ACE_Event_Handler::remove_stdin_handler (ACE_Reactor *reactor, // --------------------------------------------------------------------- -ACE_Event_Handler_var::ACE_Event_Handler_var (void) +ACE_Event_Handler_var::ACE_Event_Handler_var () : ptr_ (0) { } @@ -296,7 +296,7 @@ ACE_Event_Handler_var::ACE_Event_Handler_var (const ACE_Event_Handler_var &b) } } -ACE_Event_Handler_var::~ACE_Event_Handler_var (void) +ACE_Event_Handler_var::~ACE_Event_Handler_var () { if (this->ptr_ != 0) { @@ -333,13 +333,13 @@ ACE_Event_Handler_var::operator->() const } ACE_Event_Handler * -ACE_Event_Handler_var::handler (void) const +ACE_Event_Handler_var::handler () const { return this->ptr_; } ACE_Event_Handler * -ACE_Event_Handler_var::release (void) +ACE_Event_Handler_var::release () { ACE_Event_Handler * const old = this->ptr_; this->ptr_ = 0; @@ -372,7 +372,7 @@ ACE_Event_Handler_var::operator !=(std::nullptr_t) const // --------------------------------------------------------------------- -ACE_Notification_Buffer::ACE_Notification_Buffer (void) +ACE_Notification_Buffer::ACE_Notification_Buffer () : eh_ (0), mask_ (ACE_Event_Handler::NULL_MASK) { diff --git a/ACE/ace/Event_Handler_Handle_Timeout_Upcall.cpp b/ACE/ace/Event_Handler_Handle_Timeout_Upcall.cpp index f361e5aaeb4..8da1d1e8560 100644 --- a/ACE/ace/Event_Handler_Handle_Timeout_Upcall.cpp +++ b/ACE/ace/Event_Handler_Handle_Timeout_Upcall.cpp @@ -11,13 +11,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Event_Handler_Handle_Timeout_Upcall) ACE_Event_Handler_Handle_Timeout_Upcall:: -ACE_Event_Handler_Handle_Timeout_Upcall (void) : +ACE_Event_Handler_Handle_Timeout_Upcall () : requires_reference_counting_ (0) { } ACE_Event_Handler_Handle_Timeout_Upcall:: -~ACE_Event_Handler_Handle_Timeout_Upcall (void) +~ACE_Event_Handler_Handle_Timeout_Upcall () { } diff --git a/ACE/ace/FIFO.cpp b/ACE/ace/FIFO.cpp index e598bb63689..3fa295e8d2d 100644 --- a/ACE/ace/FIFO.cpp +++ b/ACE/ace/FIFO.cpp @@ -18,7 +18,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO) void -ACE_FIFO::dump (void) const +ACE_FIFO::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO::dump"); @@ -55,13 +55,13 @@ ACE_FIFO::ACE_FIFO (const ACE_TCHAR *fifo_name, ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("ACE_FIFO"))); } -ACE_FIFO::ACE_FIFO (void) +ACE_FIFO::ACE_FIFO () { // ACE_TRACE ("ACE_FIFO::ACE_FIFO"); } int -ACE_FIFO::close (void) +ACE_FIFO::close () { ACE_TRACE ("ACE_FIFO::close"); int result = 0; diff --git a/ACE/ace/FIFO_Recv.cpp b/ACE/ace/FIFO_Recv.cpp index bb5568d5631..c7569baa29a 100644 --- a/ACE/ace/FIFO_Recv.cpp +++ b/ACE/ace/FIFO_Recv.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv) void -ACE_FIFO_Recv::dump (void) const +ACE_FIFO_Recv::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO_Recv::dump"); @@ -28,7 +28,7 @@ ACE_FIFO_Recv::dump (void) const } int -ACE_FIFO_Recv::close (void) +ACE_FIFO_Recv::close () { ACE_TRACE ("ACE_FIFO_Recv::close"); int result = ACE_FIFO::close (); @@ -63,7 +63,7 @@ ACE_FIFO_Recv::open (const ACE_TCHAR *fifo_name, return this->get_handle () == ACE_INVALID_HANDLE ? -1 : 0; } -ACE_FIFO_Recv::ACE_FIFO_Recv (void) +ACE_FIFO_Recv::ACE_FIFO_Recv () : aux_handle_ (ACE_INVALID_HANDLE) { ACE_TRACE ("ACE_FIFO_Recv::ACE_FIFO_Recv"); diff --git a/ACE/ace/FIFO_Recv_Msg.cpp b/ACE/ace/FIFO_Recv_Msg.cpp index 494f098ac38..03e96c16903 100644 --- a/ACE/ace/FIFO_Recv_Msg.cpp +++ b/ACE/ace/FIFO_Recv_Msg.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg) void -ACE_FIFO_Recv_Msg::dump (void) const +ACE_FIFO_Recv_Msg::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO_Recv_Msg::dump"); @@ -42,7 +42,7 @@ ACE_FIFO_Recv_Msg::open (const ACE_TCHAR *fifo_name, sa); } -ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (void) +ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg () { ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg"); } diff --git a/ACE/ace/FIFO_Send.cpp b/ACE/ace/FIFO_Send.cpp index 0c37b917ecc..3c37bd53410 100644 --- a/ACE/ace/FIFO_Send.cpp +++ b/ACE/ace/FIFO_Send.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send) void -ACE_FIFO_Send::dump (void) const +ACE_FIFO_Send::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO_Send::dump"); @@ -23,7 +23,7 @@ ACE_FIFO_Send::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_FIFO_Send::ACE_FIFO_Send (void) +ACE_FIFO_Send::ACE_FIFO_Send () { // ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send"); } diff --git a/ACE/ace/FIFO_Send_Msg.cpp b/ACE/ace/FIFO_Send_Msg.cpp index 756a570f28e..d97e0fc3b01 100644 --- a/ACE/ace/FIFO_Send_Msg.cpp +++ b/ACE/ace/FIFO_Send_Msg.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send_Msg) void -ACE_FIFO_Send_Msg::dump (void) const +ACE_FIFO_Send_Msg::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FIFO_Send_Msg::dump"); @@ -53,7 +53,7 @@ ACE_FIFO_Send_Msg::send (const ACE_Str_Buf &send_msg) #endif /* ACE_HAS_STREAM_PIPES */ } -ACE_FIFO_Send_Msg::ACE_FIFO_Send_Msg (void) +ACE_FIFO_Send_Msg::ACE_FIFO_Send_Msg () { // ACE_TRACE ("ACE_FIFO_Send_Msg::ACE_FIFO_Send_Msg"); } diff --git a/ACE/ace/FILE.cpp b/ACE/ace/FILE.cpp index f7be0af718c..94df37e49a1 100644 --- a/ACE/ace/FILE.cpp +++ b/ACE/ace/FILE.cpp @@ -21,7 +21,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FILE) void -ACE_FILE::dump (void) const +ACE_FILE::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FILE::dump"); @@ -31,7 +31,7 @@ ACE_FILE::dump (void) const // This is the do-nothing constructor. -ACE_FILE::ACE_FILE (void) +ACE_FILE::ACE_FILE () { ACE_TRACE ("ACE_FILE::ACE_FILE"); } @@ -39,7 +39,7 @@ ACE_FILE::ACE_FILE (void) // Close the file int -ACE_FILE::close (void) +ACE_FILE::close () { ACE_TRACE ("ACE_FILE::close"); int result = 0; @@ -92,7 +92,7 @@ ACE_FILE::seek (ACE_OFF_T offset, int startpos) } ACE_OFF_T -ACE_FILE::tell (void) +ACE_FILE::tell () { ACE_TRACE ("ACE_FILE::tell"); return ACE_OS::lseek (this->get_handle (), 0, SEEK_CUR); @@ -130,7 +130,7 @@ ACE_FILE::get_remote_addr (ACE_Addr &addr) const } int -ACE_FILE::remove (void) +ACE_FILE::remove () { ACE_TRACE ("ACE_FILE::remove"); @@ -139,7 +139,7 @@ ACE_FILE::remove (void) } int -ACE_FILE::unlink (void) +ACE_FILE::unlink () { ACE_TRACE ("ACE_FILE::unlink"); diff --git a/ACE/ace/FILE_Addr.cpp b/ACE/ace/FILE_Addr.cpp index 9d043f5fcfd..624d888d96e 100644 --- a/ACE/ace/FILE_Addr.cpp +++ b/ACE/ace/FILE_Addr.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FILE_Addr) -ACE_FILE_Addr::ACE_FILE_Addr (void) +ACE_FILE_Addr::ACE_FILE_Addr () : ACE_Addr (AF_FILE, sizeof this->filename_ / sizeof (ACE_TCHAR)) { this->filename_[0] = '\0'; @@ -110,13 +110,13 @@ ACE_FILE_Addr::addr_to_string (ACE_TCHAR *s, size_t len) const // Return the address. void * -ACE_FILE_Addr::get_addr (void) const +ACE_FILE_Addr::get_addr () const { return (void *)&this->filename_; } void -ACE_FILE_Addr::dump (void) const +ACE_FILE_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FILE_Addr::dump"); diff --git a/ACE/ace/FILE_Connector.cpp b/ACE/ace/FILE_Connector.cpp index 5ff46dec592..b49f8dcfff7 100644 --- a/ACE/ace/FILE_Connector.cpp +++ b/ACE/ace/FILE_Connector.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FILE_Connector) void -ACE_FILE_Connector::dump (void) const +ACE_FILE_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FILE_Connector::dump"); @@ -27,7 +27,7 @@ ACE_FILE_Connector::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_FILE_Connector::ACE_FILE_Connector (void) +ACE_FILE_Connector::ACE_FILE_Connector () { ACE_TRACE ("ACE_FILE_Connector::ACE_FILE_Connector"); } diff --git a/ACE/ace/FILE_IO.cpp b/ACE/ace/FILE_IO.cpp index 1a999c83e83..315779568b5 100644 --- a/ACE/ace/FILE_IO.cpp +++ b/ACE/ace/FILE_IO.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_FILE_IO) void -ACE_FILE_IO::dump (void) const +ACE_FILE_IO::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_FILE_IO::dump"); @@ -32,7 +32,7 @@ ACE_FILE_IO::dump (void) const // Simple-minded do nothing constructor. -ACE_FILE_IO::ACE_FILE_IO (void) +ACE_FILE_IO::ACE_FILE_IO () { ACE_TRACE ("ACE_FILE_IO::ACE_FILE_IO"); } diff --git a/ACE/ace/File_Lock.cpp b/ACE/ace/File_Lock.cpp index f5e421acb25..aae97dd8afc 100644 --- a/ACE/ace/File_Lock.cpp +++ b/ACE/ace/File_Lock.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_File_Lock) void -ACE_File_Lock::dump (void) const +ACE_File_Lock::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_File_Lock::dump"); @@ -64,7 +64,7 @@ ACE_File_Lock::open (const ACE_TCHAR *name, return ACE_OS::flock_init (&this->lock_, flags, name, perms); } -ACE_File_Lock::~ACE_File_Lock (void) +ACE_File_Lock::~ACE_File_Lock () { // ACE_TRACE ("ACE_File_Lock::~ACE_File_Lock"); this->remove (this->unlink_in_destructor_); diff --git a/ACE/ace/Filecache.cpp b/ACE/ace/Filecache.cpp index 6916367bc74..3f4644d57a7 100644 --- a/ACE/ace/Filecache.cpp +++ b/ACE/ace/Filecache.cpp @@ -43,13 +43,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Filecache *ACE_Filecache::cvf_ = 0; void -ACE_Filecache_Handle::init (void) +ACE_Filecache_Handle::init () { this->file_ = 0; this->handle_ = ACE_INVALID_HANDLE; } -ACE_Filecache_Handle::ACE_Filecache_Handle (void) +ACE_Filecache_Handle::ACE_Filecache_Handle () : file_ (0), handle_ (0) { this->init (); @@ -89,7 +89,7 @@ ACE_Filecache_Handle::ACE_Filecache_Handle (const ACE_TCHAR *filename, } } -ACE_Filecache_Handle::~ACE_Filecache_Handle (void) +ACE_Filecache_Handle::~ACE_Filecache_Handle () { if (this->handle_ != ACE_INVALID_HANDLE) // this was dup ()'d @@ -99,13 +99,13 @@ ACE_Filecache_Handle::~ACE_Filecache_Handle (void) } void * -ACE_Filecache_Handle::address (void) const +ACE_Filecache_Handle::address () const { return this->file_ == 0 ? 0 : this->file_->address (); } ACE_HANDLE -ACE_Filecache_Handle::handle (void) const +ACE_Filecache_Handle::handle () const { if (this->handle_ == ACE_INVALID_HANDLE && this->file_ != 0) { @@ -117,7 +117,7 @@ ACE_Filecache_Handle::handle (void) const } int -ACE_Filecache_Handle::error (void) const +ACE_Filecache_Handle::error () const { if (this->file_ == 0) return -1; @@ -126,7 +126,7 @@ ACE_Filecache_Handle::error (void) const } ACE_OFF_T -ACE_Filecache_Handle::size (void) const +ACE_Filecache_Handle::size () const { if (this->file_ == 0) return -1; @@ -169,7 +169,7 @@ ACE_Filecache_Hash_Entry::ACE_Hash_Map_Entry (ACE_Filecache_Hash_Entry *next, } template <> -ACE_Filecache_Hash_Entry::~ACE_Hash_Map_Entry (void) +ACE_Filecache_Hash_Entry::~ACE_Hash_Map_Entry () { #if defined (ACE_HAS_ALLOC_HOOKS) ACE_Allocator::instance()->free ((void *) ext_id_); @@ -205,7 +205,7 @@ ACE_Filecache_Hash::equal (const ACE_TCHAR *const &id1, // ------------- ACE_Filecache * -ACE_Filecache::instance (void) +ACE_Filecache::instance () { // Double check locking pattern. if (ACE_Filecache::cvf_ == 0) @@ -226,13 +226,13 @@ ACE_Filecache::instance (void) return ACE_Filecache::cvf_; } -ACE_Filecache::ACE_Filecache (void) +ACE_Filecache::ACE_Filecache () : size_ (ACE_DEFAULT_VIRTUAL_FILESYSTEM_TABLE_SIZE), hash_ (size_) { } -ACE_Filecache::~ACE_Filecache (void) +ACE_Filecache::~ACE_Filecache () { } @@ -461,7 +461,7 @@ ACE_Filecache::finish (ACE_Filecache_Object *&file) } void -ACE_Filecache_Object::init (void) +ACE_Filecache_Object::init () { this->filename_[0] = '\0'; this->handle_ = ACE_INVALID_HANDLE; @@ -472,7 +472,7 @@ ACE_Filecache_Object::init (void) ACE_OS::memset (&(this->stat_), 0, sizeof (this->stat_)); } -ACE_Filecache_Object::ACE_Filecache_Object (void) +ACE_Filecache_Object::ACE_Filecache_Object () : tempname_ (0), mmap_ (), handle_ (0), @@ -612,7 +612,7 @@ ACE_Filecache_Object::ACE_Filecache_Object (const ACE_TCHAR *filename, // Ok, done! } -ACE_Filecache_Object::~ACE_Filecache_Object (void) +ACE_Filecache_Object::~ACE_Filecache_Object () { if (this->error_ == ACE_SUCCESS) { @@ -627,13 +627,13 @@ ACE_Filecache_Object::~ACE_Filecache_Object (void) ACE_ALLOC_HOOK_DEFINE(ACE_Filecache_Object) int -ACE_Filecache_Object::acquire (void) +ACE_Filecache_Object::acquire () { return this->lock_.tryacquire_read (); } int -ACE_Filecache_Object::release (void) +ACE_Filecache_Object::release () { if (this->action_ == ACE_WRITING) { @@ -688,7 +688,7 @@ ACE_Filecache_Object::release (void) } int -ACE_Filecache_Object::error (void) const +ACE_Filecache_Object::error () const { // The existence of the object means a read lock is being held. return this->error_; @@ -704,35 +704,35 @@ ACE_Filecache_Object::error_i (int error_value, const ACE_TCHAR *s) } const ACE_TCHAR * -ACE_Filecache_Object::filename (void) const +ACE_Filecache_Object::filename () const { // The existence of the object means a read lock is being held. return this->filename_; } ACE_OFF_T -ACE_Filecache_Object::size (void) const +ACE_Filecache_Object::size () const { // The existence of the object means a read lock is being held. return this->size_; } ACE_HANDLE -ACE_Filecache_Object::handle (void) const +ACE_Filecache_Object::handle () const { // The existence of the object means a read lock is being held. return this->handle_; } void * -ACE_Filecache_Object::address (void) const +ACE_Filecache_Object::address () const { // The existence of the object means a read lock is being held. return this->mmap_.addr (); } int -ACE_Filecache_Object::update (void) const +ACE_Filecache_Object::update () const { // The existence of the object means a read lock is being held. int result; diff --git a/ACE/ace/Framework_Component.cpp b/ACE/ace/Framework_Component.cpp index 513d378b943..64b24c65cd5 100644 --- a/ACE/ace/Framework_Component.cpp +++ b/ACE/ace/Framework_Component.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Framework_Component::~ACE_Framework_Component (void) +ACE_Framework_Component::~ACE_Framework_Component () { ACE_TRACE ("ACE_Framework_Component::~ACE_Framework_Component"); @@ -29,7 +29,7 @@ sig_atomic_t ACE_Framework_Repository::shutting_down_ = 0; // Pointer to the Singleton instance. ACE_Framework_Repository *ACE_Framework_Repository::repository_ = 0; -ACE_Framework_Repository::~ACE_Framework_Repository (void) +ACE_Framework_Repository::~ACE_Framework_Repository () { ACE_TRACE ("ACE_Framework_Repository::~ACE_Framework_Repository"); this->close (); @@ -58,7 +58,7 @@ ACE_Framework_Repository::open (int size) } int -ACE_Framework_Repository::close (void) +ACE_Framework_Repository::close () { ACE_TRACE ("ACE_Framework_Repository::close"); ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, -1); @@ -118,7 +118,7 @@ ACE_Framework_Repository::instance (int size) } void -ACE_Framework_Repository::close_singleton (void) +ACE_Framework_Repository::close_singleton () { ACE_TRACE ("ACE_Framework_Repository::close_singleton"); @@ -216,7 +216,7 @@ ACE_Framework_Repository::remove_dll_components_i (const ACE_TCHAR *dll_name) } void -ACE_Framework_Repository::compact (void) +ACE_Framework_Repository::compact () { ACE_TRACE ("ACE_Framework_Repository::compact"); @@ -263,7 +263,7 @@ ACE_Framework_Repository::compact (void) } void -ACE_Framework_Repository::dump (void) const +ACE_Framework_Repository::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Framework_Repository::dump"); diff --git a/ACE/ace/Functor.cpp b/ACE/ace/Functor.cpp index b5b13c92102..8d41b4062f9 100644 --- a/ACE/ace/Functor.cpp +++ b/ACE/ace/Functor.cpp @@ -33,7 +33,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Command_Base::~ACE_Command_Base (void) +ACE_Command_Base::~ACE_Command_Base () { } diff --git a/ACE/ace/Get_Opt.cpp b/ACE/ace/Get_Opt.cpp index 9e8d7c1fb2b..b990a9d5704 100644 --- a/ACE/ace/Get_Opt.cpp +++ b/ACE/ace/Get_Opt.cpp @@ -156,7 +156,7 @@ ACE_Get_Opt::ACE_Get_Opt (int argc, } } -ACE_Get_Opt::~ACE_Get_Opt (void) +ACE_Get_Opt::~ACE_Get_Opt () { ACE_TRACE ("ACE_Get_Opt::~ACE_Get_Opt"); @@ -183,7 +183,7 @@ ACE_Get_Opt::~ACE_Get_Opt (void) } int -ACE_Get_Opt::nextchar_i (void) +ACE_Get_Opt::nextchar_i () { ACE_TRACE ("ACE_Get_Opt::nextchar_i"); @@ -231,7 +231,7 @@ ACE_Get_Opt::nextchar_i (void) } int -ACE_Get_Opt::long_option_i (void) +ACE_Get_Opt::long_option_i () { ACE_TRACE ("ACE_Get_Opt::long_option_i"); @@ -359,7 +359,7 @@ ACE_Get_Opt::long_option_i (void) } int -ACE_Get_Opt::short_option_i (void) +ACE_Get_Opt::short_option_i () { ACE_TRACE ("ACE_Get_Opt::short_option_i"); @@ -436,7 +436,7 @@ ACE_Get_Opt::short_option_i (void) } int -ACE_Get_Opt::operator () (void) +ACE_Get_Opt::operator () () { ACE_TRACE ("ACE_Get_Opt_Long::operator"); @@ -569,7 +569,7 @@ ACE_Get_Opt::long_option (const ACE_TCHAR *name, } const ACE_TCHAR* -ACE_Get_Opt::long_option (void) const +ACE_Get_Opt::long_option () const { ACE_TRACE ("ACE_Get_Opt::long_option (void)"); if (this->long_option_) @@ -578,7 +578,7 @@ ACE_Get_Opt::long_option (void) const } const ACE_TCHAR* -ACE_Get_Opt::last_option (void) const +ACE_Get_Opt::last_option () const { return this->last_option_->c_str (); } @@ -590,7 +590,7 @@ ACE_Get_Opt::last_option (const ACE_TString &last_option) } void -ACE_Get_Opt::dump (void) const +ACE_Get_Opt::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Get_Opt::dump"); @@ -629,7 +629,7 @@ ACE_Get_Opt::dump (void) const } void -ACE_Get_Opt::permute_args (void) +ACE_Get_Opt::permute_args () { ACE_TRACE ("ACE_Get_Opt::permute_args"); @@ -665,7 +665,7 @@ ACE_Get_Opt::permute_args (void) } int -ACE_Get_Opt::permute (void) +ACE_Get_Opt::permute () { ACE_TRACE ("ACE_Get_Opt::permute"); @@ -706,7 +706,7 @@ ACE_Get_Opt::permute (void) } const ACE_TCHAR * -ACE_Get_Opt::optstring (void) const +ACE_Get_Opt::optstring () const { return this->optstring_->c_str (); } @@ -720,7 +720,7 @@ ACE_Get_Opt::ACE_Get_Opt_Long_Option::ACE_Get_Opt_Long_Option ( val_ (val) {} -ACE_Get_Opt::ACE_Get_Opt_Long_Option::~ACE_Get_Opt_Long_Option (void) +ACE_Get_Opt::ACE_Get_Opt_Long_Option::~ACE_Get_Opt_Long_Option () { #if defined (ACE_HAS_ALLOC_HOOKS) ACE_Allocator::instance()->free(const_cast<ACE_TCHAR*>(this->name_)); diff --git a/ACE/ace/Handle_Set.cpp b/ACE/ace/Handle_Set.cpp index 8f1831757ee..54512b1535b 100644 --- a/ACE/ace/Handle_Set.cpp +++ b/ACE/ace/Handle_Set.cpp @@ -33,7 +33,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set) #endif /* ACE_LINUX && __GLIBC__ > 1 && __GLIBC_MINOR__ >= 1 && !_XOPEN_SOURCE */ void -ACE_Handle_Set::dump (void) const +ACE_Handle_Set::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Handle_Set::dump"); @@ -91,7 +91,7 @@ const char ACE_Handle_Set::nbits_[256] = // Constructor, initializes the bitmask to all 0s. -ACE_Handle_Set::ACE_Handle_Set (void) +ACE_Handle_Set::ACE_Handle_Set () { ACE_TRACE ("ACE_Handle_Set::ACE_Handle_Set"); this->reset (); @@ -245,7 +245,7 @@ ACE_Handle_Set::set_max (ACE_HANDLE current_max) ACE_ALLOC_HOOK_DEFINE(ACE_Handle_Set_Iterator) void -ACE_Handle_Set_Iterator::dump (void) const +ACE_Handle_Set_Iterator::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Handle_Set_Iterator::dump"); @@ -263,7 +263,7 @@ ACE_Handle_Set_Iterator::dump (void) const } ACE_HANDLE -ACE_Handle_Set_Iterator::operator () (void) +ACE_Handle_Set_Iterator::operator () () { ACE_TRACE ("ACE_Handle_Set_Iterator::operator"); #if defined (ACE_HANDLE_SET_USES_FD_ARRAY) @@ -462,7 +462,7 @@ ACE_Handle_Set_Iterator::ACE_Handle_Set_Iterator (const ACE_Handle_Set &hs) } void -ACE_Handle_Set_Iterator::reset_state (void) +ACE_Handle_Set_Iterator::reset_state () { ACE_TRACE ("ACE_Handle_Set_Iterator::reset_state"); diff --git a/ACE/ace/Hashable.cpp b/ACE/ace/Hashable.cpp index 547a3065f64..00fd0dd9be0 100644 --- a/ACE/ace/Hashable.cpp +++ b/ACE/ace/Hashable.cpp @@ -6,12 +6,12 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Hashable::~ACE_Hashable (void) +ACE_Hashable::~ACE_Hashable () { } unsigned long -ACE_Hashable::hash (void) const +ACE_Hashable::hash () const { // In doing the check below, we take chance of paying a performance // price when the hash value is zero. But, that will (hopefully) diff --git a/ACE/ace/High_Res_Timer.cpp b/ACE/ace/High_Res_Timer.cpp index 048cb4d6387..a803982ef0f 100644 --- a/ACE/ace/High_Res_Timer.cpp +++ b/ACE/ace/High_Res_Timer.cpp @@ -73,7 +73,7 @@ int ACE_High_Res_Timer::global_scale_factor_status_ = 0; #if defined (ACE_LINUX) && !defined (ACE_LACKS_SSCANF) // Determine the apparent CPU clock speed from /proc/cpuinfo ACE_UINT32 -ACE_High_Res_Timer::get_cpuinfo (void) +ACE_High_Res_Timer::get_cpuinfo () { ACE_UINT32 scale_factor = 1u; @@ -186,7 +186,7 @@ ACE_High_Res_Timer::get_cpuinfo (void) #endif /* ACE_LINUX && !ACE_LACKS_SSCANF*/ ACE_High_Res_Timer::global_scale_factor_type -ACE_High_Res_Timer::global_scale_factor (void) +ACE_High_Res_Timer::global_scale_factor () { #if (defined (ACE_WIN32) || defined (ACE_HAS_POWERPC_TIMER) || \ defined (ACE_HAS_PENTIUM) || defined (ACE_HAS_ALPHA_TIMER)) && \ @@ -251,7 +251,7 @@ ACE_High_Res_Timer::global_scale_factor (void) return ACE_High_Res_Timer::global_scale_factor_; } -ACE_High_Res_Timer::ACE_High_Res_Timer (void) +ACE_High_Res_Timer::ACE_High_Res_Timer () { ACE_TRACE ("ACE_High_Res_Timer::ACE_High_Res_Timer"); @@ -304,7 +304,7 @@ ACE_High_Res_Timer::calibrate (const ACE_UINT32 usec, } void -ACE_High_Res_Timer::dump (void) const +ACE_High_Res_Timer::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_High_Res_Timer::dump"); @@ -330,7 +330,7 @@ ACE_High_Res_Timer::dump (void) const } void -ACE_High_Res_Timer::reset (void) +ACE_High_Res_Timer::reset () { ACE_TRACE ("ACE_High_Res_Timer::reset"); diff --git a/ACE/ace/ICMP_Socket.cpp b/ACE/ace/ICMP_Socket.cpp index 87ed3f58603..7d077a7553e 100644 --- a/ACE/ace/ICMP_Socket.cpp +++ b/ACE/ace/ICMP_Socket.cpp @@ -17,12 +17,12 @@ ACE_ALLOC_HOOK_DEFINE (ACE_ICMP_Socket) void -ACE_ICMP_Socket::dump (void) const +ACE_ICMP_Socket::dump () const { ACE_TRACE ("ACE_ICMP_Socket::dump"); } -ACE_ICMP_Socket::ACE_ICMP_Socket (void) +ACE_ICMP_Socket::ACE_ICMP_Socket () { ACE_TRACE ("ACE_ICMP_Socket::ACE_ICMP_Socket"); } diff --git a/ACE/ace/INET_Addr.cpp b/ACE/ace/INET_Addr.cpp index 70eedf9f954..6afe61038f2 100644 --- a/ACE/ace/INET_Addr.cpp +++ b/ACE/ace/INET_Addr.cpp @@ -77,7 +77,7 @@ ACE_INET_Addr::addr_to_string (ACE_TCHAR s[], } void -ACE_INET_Addr::dump (void) const +ACE_INET_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_INET_Addr::dump"); @@ -142,7 +142,7 @@ ACE_INET_Addr::is_ip_equal (const ACE_INET_Addr &sap) const u_long -ACE_INET_Addr::hash (void) const +ACE_INET_Addr::hash () const { #if defined (ACE_HAS_IPV6) if (this->get_type () == PF_INET6) @@ -156,7 +156,7 @@ ACE_INET_Addr::hash (void) const } bool -ACE_INET_Addr::next (void) +ACE_INET_Addr::next () { if (this->inet_addrs_.empty () || this->inet_addrs_iter_ == this->inet_addrs_.end ()) @@ -168,13 +168,13 @@ ACE_INET_Addr::next (void) } void -ACE_INET_Addr::reset (void) +ACE_INET_Addr::reset () { this->inet_addrs_iter_ = this->inet_addrs_.begin (); this->next (); } -ACE_INET_Addr::ACE_INET_Addr (void) +ACE_INET_Addr::ACE_INET_Addr () : ACE_Addr (determine_type (), sizeof (inet_addr_)) { // ACE_TRACE ("ACE_INET_Addr::ACE_INET_Addr"); @@ -620,7 +620,7 @@ ACE_INET_Addr::set (const sockaddr_in *addr, int len) // Return the address. void * -ACE_INET_Addr::get_addr (void) const +ACE_INET_Addr::get_addr () const { ACE_TRACE ("ACE_INET_Addr::get_addr"); return (void*)&this->inet_addr_; @@ -746,7 +746,7 @@ ACE_INET_Addr::ACE_INET_Addr (const wchar_t port_name[], } #endif /* ACE_HAS_WCHAR */ -ACE_INET_Addr::~ACE_INET_Addr (void) +ACE_INET_Addr::~ACE_INET_Addr () { } @@ -811,7 +811,7 @@ ACE_INET_Addr::get_host_name (wchar_t hostname[], // Return the character representation of the hostname. const char * -ACE_INET_Addr::get_host_name (void) const +ACE_INET_Addr::get_host_name () const { ACE_TRACE ("ACE_INET_Addr::get_host_name"); @@ -1077,7 +1077,7 @@ ACE_INET_Addr::get_host_addr (char *dst, int size) const // Return the dotted Internet address. const char * -ACE_INET_Addr::get_host_addr (void) const +ACE_INET_Addr::get_host_addr () const { ACE_TRACE ("ACE_INET_Addr::get_host_addr"); #if defined (ACE_HAS_IPV6) @@ -1091,7 +1091,7 @@ ACE_INET_Addr::get_host_addr (void) const // Return the 4-byte IP address, converting it into host byte order. ACE_UINT32 -ACE_INET_Addr::get_ip_address (void) const +ACE_INET_Addr::get_ip_address () const { ACE_TRACE ("ACE_INET_Addr::get_ip_address"); #if defined (ACE_HAS_IPV6) diff --git a/ACE/ace/IO_SAP.cpp b/ACE/ace/IO_SAP.cpp index 9411e765307..1c5fcdf311d 100644 --- a/ACE/ace/IO_SAP.cpp +++ b/ACE/ace/IO_SAP.cpp @@ -20,14 +20,14 @@ ACE_ALLOC_HOOK_DEFINE(ACE_IO_SAP) // This is the do-nothing constructor. It does not perform a // ACE_OS::open system call. -ACE_IO_SAP::ACE_IO_SAP (void) +ACE_IO_SAP::ACE_IO_SAP () : handle_ (ACE_INVALID_HANDLE) { ACE_TRACE ("ACE_IO_SAP::ACE_IO_SAP"); } void -ACE_IO_SAP::dump (void) const +ACE_IO_SAP::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_IO_SAP::dump"); diff --git a/ACE/ace/IPC_SAP.cpp b/ACE/ace/IPC_SAP.cpp index 1bf77aaf23e..c88f8830f55 100644 --- a/ACE/ace/IPC_SAP.cpp +++ b/ACE/ace/IPC_SAP.cpp @@ -20,7 +20,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_IPC_SAP) void -ACE_IPC_SAP::dump (void) const +ACE_IPC_SAP::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_IPC_SAP::dump"); @@ -34,7 +34,7 @@ ACE_IPC_SAP::dump (void) const // This is the do-nothing constructor. It does not perform a // ACE_OS::socket system call. -ACE_IPC_SAP::ACE_IPC_SAP (void) +ACE_IPC_SAP::ACE_IPC_SAP () : handle_ (ACE_INVALID_HANDLE) { // ACE_TRACE ("ACE_IPC_SAP::ACE_IPC_SAP"); diff --git a/ACE/ace/Init_ACE.cpp b/ACE/ace/Init_ACE.cpp index 42a415180c4..65e551ca81c 100644 --- a/ACE/ace/Init_ACE.cpp +++ b/ACE/ace/Init_ACE.cpp @@ -7,7 +7,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL unsigned int ACE::init_fini_count_ = 0; int -ACE::init (void) +ACE::init () { // Don't use ACE_TRACE, because Object_Manager might not have been // instantiated yet. @@ -18,7 +18,7 @@ ACE::init (void) } int -ACE::fini (void) +ACE::fini () { ACE_TRACE ("ACE::fini"); diff --git a/ACE/ace/LSOCK.cpp b/ACE/ace/LSOCK.cpp index 332890ed82c..ef57f5448c7 100644 --- a/ACE/ace/LSOCK.cpp +++ b/ACE/ace/LSOCK.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK) void -ACE_LSOCK::dump (void) const +ACE_LSOCK::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK::dump"); diff --git a/ACE/ace/LSOCK_Acceptor.cpp b/ACE/ace/LSOCK_Acceptor.cpp index 28a45ea3faa..1dc0cf8f998 100644 --- a/ACE/ace/LSOCK_Acceptor.cpp +++ b/ACE/ace/LSOCK_Acceptor.cpp @@ -30,7 +30,7 @@ ACE_LSOCK_Acceptor::get_local_addr (ACE_Addr &a) const } void -ACE_LSOCK_Acceptor::dump (void) const +ACE_LSOCK_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK_Acceptor::dump"); @@ -43,7 +43,7 @@ ACE_LSOCK_Acceptor::dump (void) const // Do nothing routine for constructor. -ACE_LSOCK_Acceptor::ACE_LSOCK_Acceptor (void) +ACE_LSOCK_Acceptor::ACE_LSOCK_Acceptor () { ACE_TRACE ("ACE_LSOCK_Acceptor::ACE_LSOCK_Acceptor"); } @@ -131,7 +131,7 @@ ACE_LSOCK_Acceptor::accept (ACE_LSOCK_Stream &new_stream, // from the file system. int -ACE_LSOCK_Acceptor::remove (void) +ACE_LSOCK_Acceptor::remove () { ACE_TRACE ("ACE_LSOCK_Acceptor::remove"); int result = this->close (); diff --git a/ACE/ace/LSOCK_CODgram.cpp b/ACE/ace/LSOCK_CODgram.cpp index d3f6d72e616..6f28664991a 100644 --- a/ACE/ace/LSOCK_CODgram.cpp +++ b/ACE/ace/LSOCK_CODgram.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_CODgram) void -ACE_LSOCK_CODgram::dump (void) const +ACE_LSOCK_CODgram::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK_CODgram::dump"); diff --git a/ACE/ace/LSOCK_Connector.cpp b/ACE/ace/LSOCK_Connector.cpp index a7c9b2e718c..45bb9c67249 100644 --- a/ACE/ace/LSOCK_Connector.cpp +++ b/ACE/ace/LSOCK_Connector.cpp @@ -18,7 +18,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_Connector) void -ACE_LSOCK_Connector::dump (void) const +ACE_LSOCK_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK_Connector::dump"); @@ -29,7 +29,7 @@ ACE_LSOCK_Connector::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_LSOCK_Connector::ACE_LSOCK_Connector (void) +ACE_LSOCK_Connector::ACE_LSOCK_Connector () { ACE_TRACE ("ACE_LSOCK_Connector::ACE_LSOCK_Connector"); } diff --git a/ACE/ace/LSOCK_Dgram.cpp b/ACE/ace/LSOCK_Dgram.cpp index 58059aede11..d544d4d3850 100644 --- a/ACE/ace/LSOCK_Dgram.cpp +++ b/ACE/ace/LSOCK_Dgram.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_Dgram) void -ACE_LSOCK_Dgram::dump (void) const +ACE_LSOCK_Dgram::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_LSOCK_Dgram::dump"); @@ -31,7 +31,7 @@ ACE_LSOCK_Dgram::dump (void) const // The "do nothing" constructor. -ACE_LSOCK_Dgram::ACE_LSOCK_Dgram (void) +ACE_LSOCK_Dgram::ACE_LSOCK_Dgram () { ACE_TRACE ("ACE_LSOCK_Dgram::ACE_LSOCK_Dgram"); } diff --git a/ACE/ace/LSOCK_Stream.cpp b/ACE/ace/LSOCK_Stream.cpp index 0bbf126956b..4af5927f1c3 100644 --- a/ACE/ace/LSOCK_Stream.cpp +++ b/ACE/ace/LSOCK_Stream.cpp @@ -47,7 +47,7 @@ ACE_LSOCK_Stream::get_remote_addr (ACE_Addr &addr) const } void -ACE_LSOCK_Stream::dump (void) const +ACE_LSOCK_Stream::dump () const { ACE_TRACE ("ACE_LSOCK_Stream::dump"); diff --git a/ACE/ace/Local_Memory_Pool.cpp b/ACE/ace/Local_Memory_Pool.cpp index 0332f6f36e0..c4d3f360b5b 100644 --- a/ACE/ace/Local_Memory_Pool.cpp +++ b/ACE/ace/Local_Memory_Pool.cpp @@ -11,7 +11,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Local_Memory_Pool) void -ACE_Local_Memory_Pool::dump (void) const +ACE_Local_Memory_Pool::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Local_Memory_Pool::dump"); @@ -24,7 +24,7 @@ ACE_Local_Memory_Pool::ACE_Local_Memory_Pool (const ACE_TCHAR *, ACE_TRACE ("ACE_Local_Memory_Pool::ACE_Local_Memory_Pool"); } -ACE_Local_Memory_Pool::~ACE_Local_Memory_Pool (void) +ACE_Local_Memory_Pool::~ACE_Local_Memory_Pool () { // Free up all memory allocated by this pool. this->release (); @@ -137,7 +137,7 @@ ACE_Local_Memory_Pool::remap (void *) } void * -ACE_Local_Memory_Pool::base_addr (void) const +ACE_Local_Memory_Pool::base_addr () const { return 0; } diff --git a/ACE/ace/Local_Name_Space.cpp b/ACE/ace/Local_Name_Space.cpp index 59645093ef0..ce5f345b39d 100644 --- a/ACE/ace/Local_Name_Space.cpp +++ b/ACE/ace/Local_Name_Space.cpp @@ -7,7 +7,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_NS_String::~ACE_NS_String (void) +ACE_NS_String::~ACE_NS_String () { if (this->delete_rep_) #if defined (ACE_HAS_ALLOC_HOOKS) @@ -18,7 +18,7 @@ ACE_NS_String::~ACE_NS_String (void) } ACE_WCHAR_T * -ACE_NS_String::fast_rep (void) const +ACE_NS_String::fast_rep () const { ACE_TRACE ("ACE_NS_String::fast_rep"); return this->rep_; @@ -32,14 +32,14 @@ ACE_NS_String::operator ACE_NS_WString () const } size_t -ACE_NS_String::len (void) const +ACE_NS_String::len () const { ACE_TRACE ("ACE_NS_String::len"); return this->len_; } char * -ACE_NS_String::char_rep (void) const +ACE_NS_String::char_rep () const { ACE_TRACE ("ACE_NS_String::char_rep"); ACE_NS_WString w_string (this->rep_, @@ -47,7 +47,7 @@ ACE_NS_String::char_rep (void) const return w_string.char_rep (); } -ACE_NS_String::ACE_NS_String (void) +ACE_NS_String::ACE_NS_String () : len_ (0), rep_ (0), delete_rep_ (false) @@ -125,14 +125,14 @@ ACE_NS_String::ACE_NS_String (ACE_WCHAR_T *dst, } u_long -ACE_NS_String::hash (void) const +ACE_NS_String::hash () const { return ACE::hash_pjw (reinterpret_cast<char *> (const_cast<ACE_WCHAR_T *> (this->rep_)), this->len_); } -ACE_NS_Internal::ACE_NS_Internal (void) +ACE_NS_Internal::ACE_NS_Internal () : value_ (), type_ () { @@ -153,14 +153,14 @@ ACE_NS_Internal::operator == (const ACE_NS_Internal &s) const } ACE_NS_String -ACE_NS_Internal::value (void) +ACE_NS_Internal::value () { ACE_TRACE ("ACE_NS_Internal::value"); return this->value_; } const char * -ACE_NS_Internal::type (void) +ACE_NS_Internal::type () { ACE_TRACE ("ACE_NS_Internal::type"); return this->type_; diff --git a/ACE/ace/Lock.cpp b/ACE/ace/Lock.cpp index ada3e97f3ec..b3b78a4729a 100644 --- a/ACE/ace/Lock.cpp +++ b/ACE/ace/Lock.cpp @@ -8,75 +8,75 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Lock::~ACE_Lock (void) +ACE_Lock::~ACE_Lock () { } -ACE_Adaptive_Lock::ACE_Adaptive_Lock (void) +ACE_Adaptive_Lock::ACE_Adaptive_Lock () : lock_ (0) { } -ACE_Adaptive_Lock::~ACE_Adaptive_Lock (void) +ACE_Adaptive_Lock::~ACE_Adaptive_Lock () { } int -ACE_Adaptive_Lock::remove (void) +ACE_Adaptive_Lock::remove () { return this->lock_->remove (); } int -ACE_Adaptive_Lock::acquire (void) +ACE_Adaptive_Lock::acquire () { return this->lock_->acquire (); } int -ACE_Adaptive_Lock::tryacquire (void) +ACE_Adaptive_Lock::tryacquire () { return this->lock_->tryacquire (); } int -ACE_Adaptive_Lock::release (void) +ACE_Adaptive_Lock::release () { return this->lock_->release (); } int -ACE_Adaptive_Lock::acquire_read (void) +ACE_Adaptive_Lock::acquire_read () { return this->lock_->acquire_read (); } int -ACE_Adaptive_Lock::acquire_write (void) +ACE_Adaptive_Lock::acquire_write () { return this->lock_->acquire_write (); } int -ACE_Adaptive_Lock::tryacquire_read (void) +ACE_Adaptive_Lock::tryacquire_read () { return this->lock_->tryacquire_read (); } int -ACE_Adaptive_Lock::tryacquire_write (void) +ACE_Adaptive_Lock::tryacquire_write () { return this->lock_->tryacquire_write (); } int -ACE_Adaptive_Lock::tryacquire_write_upgrade (void) +ACE_Adaptive_Lock::tryacquire_write_upgrade () { return this->lock_->tryacquire_write_upgrade (); } void -ACE_Adaptive_Lock::dump (void) const +ACE_Adaptive_Lock::dump () const { #if defined (ACE_HAS_DUMP) // return this->lock_->dump (); diff --git a/ACE/ace/Log_Msg.cpp b/ACE/ace/Log_Msg.cpp index ec402e65730..97b2d34253c 100644 --- a/ACE/ace/Log_Msg.cpp +++ b/ACE/ace/Log_Msg.cpp @@ -62,7 +62,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Log_Msg) static ACE_thread_key_t the_log_msg_tss_key; -ACE_thread_key_t *log_msg_tss_key (void) +ACE_thread_key_t *log_msg_tss_key () { return &the_log_msg_tss_key; } @@ -125,10 +125,10 @@ public: #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) //FUZZ: disable check_for_lack_ACE_OS - static void close (void) ACE_GCC_DESTRUCTOR_ATTRIBUTE; + static void close () ACE_GCC_DESTRUCTOR_ATTRIBUTE; //FUZZ: enable check_for_lack_ACE_OS - static ACE_Recursive_Thread_Mutex *get_lock (void); + static ACE_Recursive_Thread_Mutex *get_lock (); private: static ACE_Recursive_Thread_Mutex *lock_; @@ -196,7 +196,7 @@ int ACE_Log_Msg_Manager::init_backend (const u_long *flags) ACE_Recursive_Thread_Mutex *ACE_Log_Msg_Manager::lock_ = 0; ACE_Recursive_Thread_Mutex * -ACE_Log_Msg_Manager::get_lock (void) +ACE_Log_Msg_Manager::get_lock () { // This function is called by the first thread to create an ACE_Log_Msg // instance. It makes the call while holding a mutex, so we don't have @@ -215,7 +215,7 @@ ACE_Log_Msg_Manager::get_lock (void) } void -ACE_Log_Msg_Manager::close (void) +ACE_Log_Msg_Manager::close () { #if defined (ACE_HAS_STHREADS) && ! defined (ACE_HAS_TSS_EMULATION) && ! defined (ACE_HAS_EXCEPTIONS) // Delete the (main thread's) Log_Msg instance. I think that this @@ -264,7 +264,7 @@ ACE_TSS_CLEANUP_NAME (void *ptr) /* static */ int -ACE_Log_Msg::exists (void) +ACE_Log_Msg::exists () { #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) # if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || \ @@ -285,7 +285,7 @@ ACE_Log_Msg::exists (void) } ACE_Log_Msg * -ACE_Log_Msg::instance (void) +ACE_Log_Msg::instance () { #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) # if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || \ @@ -395,7 +395,7 @@ ACE_Log_Msg::instance (void) // Not inlined to help prevent having to include OS.h just to // get ACELIB_DEBUG, et al, macros. int -ACE_Log_Msg::last_error_adapter (void) +ACE_Log_Msg::last_error_adapter () { return ACE_OS::last_error (); } @@ -423,7 +423,7 @@ ACE_Log_Msg::disable_debug_messages (ACE_Log_Priority priority) } const ACE_TCHAR * -ACE_Log_Msg::program_name (void) +ACE_Log_Msg::program_name () { return ACE_Log_Msg::program_name_; } @@ -459,7 +459,7 @@ u_long ACE_Log_Msg::process_priority_mask_ = LM_SHUTDOWN | LM_EMERGENCY; void -ACE_Log_Msg::close (void) +ACE_Log_Msg::close () { // This call needs to go here to avoid memory leaks. ACE_MT (ACE_Log_Msg_Manager::close ()); @@ -523,7 +523,7 @@ ACE_Log_Msg::sync_hook (const ACE_TCHAR *prg_name) } ACE_OS_Thread_Descriptor * -ACE_Log_Msg::thr_desc_hook (void) +ACE_Log_Msg::thr_desc_hook () { return ACE_LOG_MSG->thr_desc (); } @@ -551,7 +551,7 @@ ACE_Log_Msg::sync (const ACE_TCHAR *prog_name) } u_long -ACE_Log_Msg::flags (void) +ACE_Log_Msg::flags () { ACE_TRACE ("ACE_Log_Msg::flags"); u_long result; @@ -583,7 +583,7 @@ ACE_Log_Msg::clr_flags (u_long flgs) } int -ACE_Log_Msg::acquire (void) +ACE_Log_Msg::acquire () { ACE_TRACE ("ACE_Log_Msg::acquire"); #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) @@ -613,7 +613,7 @@ ACE_Log_Msg::priority_mask (u_long n_mask, MASK_TYPE mask_type) } int -ACE_Log_Msg::release (void) +ACE_Log_Msg::release () { ACE_TRACE ("ACE_Log_Msg::release"); @@ -624,7 +624,7 @@ ACE_Log_Msg::release (void) #endif /* ! ACE_MT_SAFE */ } -ACE_Log_Msg::ACE_Log_Msg (void) +ACE_Log_Msg::ACE_Log_Msg () : status_ (0), errnum_ (0), linenum_ (0), @@ -676,7 +676,7 @@ ACE_Log_Msg::ACE_Log_Msg (void) #endif /* ACE_HAS_ALLOC_HOOKS */ } -ACE_Log_Msg::~ACE_Log_Msg (void) +ACE_Log_Msg::~ACE_Log_Msg () { #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) @@ -2810,8 +2810,8 @@ ssize_t ACE_Log_Msg::log (const ACE_Log_Formatter &formatter) class ACE_Log_Msg_Sig_Guard { private: - ACE_Log_Msg_Sig_Guard (void); - ~ACE_Log_Msg_Sig_Guard (void); + ACE_Log_Msg_Sig_Guard (); + ~ACE_Log_Msg_Sig_Guard (); /// Original signal mask. sigset_t omask_; @@ -2820,7 +2820,7 @@ private: int suppress_stderr); }; -ACE_Log_Msg_Sig_Guard::ACE_Log_Msg_Sig_Guard (void) +ACE_Log_Msg_Sig_Guard::ACE_Log_Msg_Sig_Guard () { #if !defined (ACE_LACKS_UNIX_SIGNALS) ACE_OS::sigemptyset (&this->omask_); @@ -2837,7 +2837,7 @@ ACE_Log_Msg_Sig_Guard::ACE_Log_Msg_Sig_Guard (void) #endif /* ACE_LACKS_UNIX_SIGNALS */ } -ACE_Log_Msg_Sig_Guard::~ACE_Log_Msg_Sig_Guard (void) +ACE_Log_Msg_Sig_Guard::~ACE_Log_Msg_Sig_Guard () { #if !defined (ACE_LACKS_UNIX_SIGNALS) # if defined (ACE_LACKS_PTHREAD_THR_SIGSETMASK) @@ -3055,7 +3055,7 @@ ACE_Log_Msg::conditional_set (const char *filename, } void -ACE_Log_Msg::dump (void) const +ACE_Log_Msg::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Log_Msg::dump"); @@ -3122,7 +3122,7 @@ ACE_Log_Msg::msg_backend (ACE_Log_Msg_Backend *b) } ACE_Log_Msg_Backend * -ACE_Log_Msg::msg_backend (void) +ACE_Log_Msg::msg_backend () { ACE_TRACE ("ACE_Log_Msg::msg_backend"); ACE_MT (ACE_GUARD_RETURN (ACE_Recursive_Thread_Mutex, ace_mon, diff --git a/ACE/ace/Log_Msg_Backend.cpp b/ACE/ace/Log_Msg_Backend.cpp index 95fd1a6a7d4..8d3dbe699b1 100644 --- a/ACE/ace/Log_Msg_Backend.cpp +++ b/ACE/ace/Log_Msg_Backend.cpp @@ -5,7 +5,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Log_Msg_Backend::~ACE_Log_Msg_Backend (void) +ACE_Log_Msg_Backend::~ACE_Log_Msg_Backend () { } diff --git a/ACE/ace/Log_Msg_Callback.cpp b/ACE/ace/Log_Msg_Callback.cpp index 5586c7470f6..b88de627c63 100644 --- a/ACE/ace/Log_Msg_Callback.cpp +++ b/ACE/ace/Log_Msg_Callback.cpp @@ -2,11 +2,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Log_Msg_Callback::ACE_Log_Msg_Callback (void) +ACE_Log_Msg_Callback::ACE_Log_Msg_Callback () { } -ACE_Log_Msg_Callback::~ACE_Log_Msg_Callback (void) +ACE_Log_Msg_Callback::~ACE_Log_Msg_Callback () { } diff --git a/ACE/ace/Log_Msg_IPC.cpp b/ACE/ace/Log_Msg_IPC.cpp index 94b710a6b73..56fd98df942 100644 --- a/ACE/ace/Log_Msg_IPC.cpp +++ b/ACE/ace/Log_Msg_IPC.cpp @@ -7,11 +7,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Log_Msg_IPC::ACE_Log_Msg_IPC (void) +ACE_Log_Msg_IPC::ACE_Log_Msg_IPC () { } -ACE_Log_Msg_IPC::~ACE_Log_Msg_IPC (void) +ACE_Log_Msg_IPC::~ACE_Log_Msg_IPC () { (void) this->close (); } @@ -27,7 +27,7 @@ ACE_Log_Msg_IPC::open (const ACE_TCHAR *logger_key) } int -ACE_Log_Msg_IPC::reset (void) +ACE_Log_Msg_IPC::reset () { if (this->message_queue_.get_handle () != ACE_INVALID_HANDLE) { @@ -39,7 +39,7 @@ ACE_Log_Msg_IPC::reset (void) } int -ACE_Log_Msg_IPC::close (void) +ACE_Log_Msg_IPC::close () { return this->message_queue_.close (); } diff --git a/ACE/ace/Log_Msg_UNIX_Syslog.cpp b/ACE/ace/Log_Msg_UNIX_Syslog.cpp index 0c14e0fbb3a..73c9403d096 100644 --- a/ACE/ace/Log_Msg_UNIX_Syslog.cpp +++ b/ACE/ace/Log_Msg_UNIX_Syslog.cpp @@ -22,11 +22,11 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // should not be too limiting, as the ACE_Log_Msg class itself can // be used to control thread specific logging behavior. -ACE_Log_Msg_UNIX_Syslog::ACE_Log_Msg_UNIX_Syslog (void) +ACE_Log_Msg_UNIX_Syslog::ACE_Log_Msg_UNIX_Syslog () { } -ACE_Log_Msg_UNIX_Syslog::~ACE_Log_Msg_UNIX_Syslog (void) +ACE_Log_Msg_UNIX_Syslog::~ACE_Log_Msg_UNIX_Syslog () { (void) this->close (); } @@ -70,13 +70,13 @@ ACE_Log_Msg_UNIX_Syslog::open (const ACE_TCHAR * logger_key) } int -ACE_Log_Msg_UNIX_Syslog::reset (void) +ACE_Log_Msg_UNIX_Syslog::reset () { return this->close (); } int -ACE_Log_Msg_UNIX_Syslog::close (void) +ACE_Log_Msg_UNIX_Syslog::close () { closelog(); return 0; diff --git a/ACE/ace/Log_Record.cpp b/ACE/ace/Log_Record.cpp index 68c4ef78a1d..cae0e3b2c2c 100644 --- a/ACE/ace/Log_Record.cpp +++ b/ACE/ace/Log_Record.cpp @@ -78,7 +78,7 @@ ACE_Log_Record::priority_name (ACE_Log_Priority p, } u_long -ACE_Log_Record::priority (void) const +ACE_Log_Record::priority () const { ACE_TRACE ("ACE_Log_Record::priority"); @@ -99,7 +99,7 @@ ACE_Log_Record::priority (u_long p) } void -ACE_Log_Record::dump (void) const +ACE_Log_Record::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Log_Record::dump"); @@ -191,7 +191,7 @@ ACE_Log_Record::ACE_Log_Record (ACE_Log_Priority lp, } void -ACE_Log_Record::round_up (void) +ACE_Log_Record::round_up () { // ACE_TRACE ("ACE_Log_Record::round_up"); // Determine the length of the payload. @@ -203,7 +203,7 @@ ACE_Log_Record::round_up (void) this->length_ = static_cast<ACE_UINT32> (len); } -ACE_Log_Record::ACE_Log_Record (void) +ACE_Log_Record::ACE_Log_Record () : length_ (0), type_ (0), secs_ (0), diff --git a/ACE/ace/Logging_Strategy.cpp b/ACE/ace/Logging_Strategy.cpp index 78f5ac0acf7..4a87f07c3df 100644 --- a/ACE/ace/Logging_Strategy.cpp +++ b/ACE/ace/Logging_Strategy.cpp @@ -234,7 +234,7 @@ ACE_Logging_Strategy::parse_args (int argc, ACE_TCHAR *argv[]) return 0; } -ACE_Logging_Strategy::ACE_Logging_Strategy (void) +ACE_Logging_Strategy::ACE_Logging_Strategy () : thread_priority_mask_ (0), process_priority_mask_ (0), flags_ (0), @@ -278,7 +278,7 @@ ACE_Logging_Strategy::ACE_Logging_Strategy (void) #endif /* ACE_DEFAULT_LOGFILE */ } -ACE_Logging_Strategy::~ACE_Logging_Strategy (void) +ACE_Logging_Strategy::~ACE_Logging_Strategy () { // This is allocated in constructor, so it must be deallocated in // the destructor! @@ -290,7 +290,7 @@ ACE_Logging_Strategy::~ACE_Logging_Strategy (void) } int -ACE_Logging_Strategy::fini (void) +ACE_Logging_Strategy::fini () { #if defined (ACE_HAS_ALLOC_HOOKS) ACE_Allocator::instance()->free(this->filename_); @@ -603,7 +603,7 @@ ACE_Logging_Strategy::reactor (ACE_Reactor *r) } ACE_Reactor * -ACE_Logging_Strategy::reactor (void) const +ACE_Logging_Strategy::reactor () const { return ACE_Service_Object::reactor (); } diff --git a/ACE/ace/MEM_Acceptor.cpp b/ACE/ace/MEM_Acceptor.cpp index a7353b6e3fe..27bc04ab4d0 100644 --- a/ACE/ace/MEM_Acceptor.cpp +++ b/ACE/ace/MEM_Acceptor.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Acceptor) void -ACE_MEM_Acceptor::dump (void) const +ACE_MEM_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_Acceptor::dump"); @@ -28,7 +28,7 @@ ACE_MEM_Acceptor::dump (void) const // Do nothing routine for constructor. -ACE_MEM_Acceptor::ACE_MEM_Acceptor (void) +ACE_MEM_Acceptor::ACE_MEM_Acceptor () : mmap_prefix_ (0), malloc_options_ (ACE_DEFAULT_BASE_ADDR, 0), preferred_strategy_ (ACE_MEM_IO::Reactive) @@ -36,7 +36,7 @@ ACE_MEM_Acceptor::ACE_MEM_Acceptor (void) ACE_TRACE ("ACE_MEM_Acceptor::ACE_MEM_Acceptor"); } -ACE_MEM_Acceptor::~ACE_MEM_Acceptor (void) +ACE_MEM_Acceptor::~ACE_MEM_Acceptor () { ACE_TRACE ("ACE_MEM_Acceptor::~ACE_MEM_Acceptor"); #if defined (ACE_HAS_ALLOC_HOOKS) diff --git a/ACE/ace/MEM_Addr.cpp b/ACE/ace/MEM_Addr.cpp index 985a99be5eb..5c5082891f0 100644 --- a/ACE/ace/MEM_Addr.cpp +++ b/ACE/ace/MEM_Addr.cpp @@ -22,7 +22,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Addr) // Transform the current address into string format. -ACE_MEM_Addr::ACE_MEM_Addr (void) +ACE_MEM_Addr::ACE_MEM_Addr () : ACE_Addr (AF_INET, sizeof (ACE_MEM_Addr)) { // ACE_TRACE ("ACE_MEM_Addr::ACE_MEM_Addr"); @@ -54,7 +54,7 @@ ACE_MEM_Addr::ACE_MEM_Addr (u_short port_number) this->initialize_local (port_number); } -ACE_MEM_Addr::~ACE_MEM_Addr (void) +ACE_MEM_Addr::~ACE_MEM_Addr () { } @@ -110,7 +110,7 @@ ACE_MEM_Addr::string_to_addr (const ACE_TCHAR s[]) // Return the address. void * -ACE_MEM_Addr::get_addr (void) const +ACE_MEM_Addr::get_addr () const { ACE_TRACE ("ACE_MEM_Addr::get_addr"); return this->external_.get_addr (); @@ -137,20 +137,20 @@ ACE_MEM_Addr::get_host_name (ACE_TCHAR hostname[], // Return the character representation of the hostname. const char * -ACE_MEM_Addr::get_host_name (void) const +ACE_MEM_Addr::get_host_name () const { ACE_TRACE ("ACE_MEM_Addr::get_host_name"); return this->external_.get_host_name (); } u_long -ACE_MEM_Addr::hash (void) const +ACE_MEM_Addr::hash () const { return this->external_.hash (); } void -ACE_MEM_Addr::dump (void) const +ACE_MEM_Addr::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_Addr::dump"); diff --git a/ACE/ace/MEM_Connector.cpp b/ACE/ace/MEM_Connector.cpp index 4df5ec48866..65fc6e32efd 100644 --- a/ACE/ace/MEM_Connector.cpp +++ b/ACE/ace/MEM_Connector.cpp @@ -11,7 +11,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Connector) void -ACE_MEM_Connector::dump (void) const +ACE_MEM_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_Connector::dump"); @@ -22,7 +22,7 @@ ACE_MEM_Connector::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_MEM_Connector::ACE_MEM_Connector (void) +ACE_MEM_Connector::ACE_MEM_Connector () : malloc_options_ (ACE_DEFAULT_BASE_ADDR, 0), preferred_strategy_ (ACE_MEM_IO::Reactive) { diff --git a/ACE/ace/MEM_IO.cpp b/ACE/ace/MEM_IO.cpp index 04e49821ded..1a27b9a72d8 100644 --- a/ACE/ace/MEM_IO.cpp +++ b/ACE/ace/MEM_IO.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MEM_IO) -ACE_Reactive_MEM_IO::~ACE_Reactive_MEM_IO (void) +ACE_Reactive_MEM_IO::~ACE_Reactive_MEM_IO () { } @@ -334,7 +334,7 @@ ACE_MT_MEM_IO::send_buf (ACE_MEM_SAP_Node *buf, #endif /* ACE_WIN32 || !_ACE_USE_SV_SEM */ void -ACE_MEM_IO::dump (void) const +ACE_MEM_IO::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_IO::dump"); @@ -374,7 +374,7 @@ ACE_MEM_IO::init (const ACE_TCHAR *name, } int -ACE_MEM_IO::fini (void) +ACE_MEM_IO::fini () { if (this->deliver_strategy_ != 0) { diff --git a/ACE/ace/MEM_SAP.cpp b/ACE/ace/MEM_SAP.cpp index 4386c0ca719..26a85a07292 100644 --- a/ACE/ace/MEM_SAP.cpp +++ b/ACE/ace/MEM_SAP.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MEM_SAP) void -ACE_MEM_SAP::dump (void) const +ACE_MEM_SAP::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_SAP::dump"); @@ -27,14 +27,14 @@ ACE_MEM_SAP::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_MEM_SAP::ACE_MEM_SAP (void) +ACE_MEM_SAP::ACE_MEM_SAP () : handle_ (ACE_INVALID_HANDLE), shm_malloc_ (0) { // ACE_TRACE ("ACE_MEM_SAP::ACE_MEM_SAP"); } -ACE_MEM_SAP::~ACE_MEM_SAP (void) +ACE_MEM_SAP::~ACE_MEM_SAP () { // ACE_TRACE ("ACE_MEM_SAP::~ACE_MEM_SAP"); delete this->shm_malloc_; @@ -75,7 +75,7 @@ ACE_MEM_SAP::create_shm_malloc (const ACE_TCHAR *name, } int -ACE_MEM_SAP::close_shm_malloc (void) +ACE_MEM_SAP::close_shm_malloc () { ACE_TRACE ("ACE_MEM_SAP::close_shm_malloc"); diff --git a/ACE/ace/MEM_Stream.cpp b/ACE/ace/MEM_Stream.cpp index 74690a6dd2f..2af690115d6 100644 --- a/ACE/ace/MEM_Stream.cpp +++ b/ACE/ace/MEM_Stream.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MEM_Stream) void -ACE_MEM_Stream::dump (void) const +ACE_MEM_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MEM_Stream::dump"); @@ -21,7 +21,7 @@ ACE_MEM_Stream::dump (void) const } int -ACE_MEM_Stream::close (void) +ACE_MEM_Stream::close () { this->send ((char *)0, 0); diff --git a/ACE/ace/MMAP_Memory_Pool.cpp b/ACE/ace/MMAP_Memory_Pool.cpp index c0a02bac81c..ea1c432895e 100644 --- a/ACE/ace/MMAP_Memory_Pool.cpp +++ b/ACE/ace/MMAP_Memory_Pool.cpp @@ -22,7 +22,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_MMAP_Memory_Pool) void -ACE_MMAP_Memory_Pool::dump (void) const +ACE_MMAP_Memory_Pool::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_MMAP_Memory_Pool::dump"); @@ -206,7 +206,7 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool ( #endif /* ACE_WIN32 */ } -ACE_MMAP_Memory_Pool::~ACE_MMAP_Memory_Pool (void) +ACE_MMAP_Memory_Pool::~ACE_MMAP_Memory_Pool () { } @@ -547,7 +547,7 @@ ACE_MMAP_Memory_Pool::handle_signal (int signum, siginfo_t *siginfo, ucontext_t #endif void * -ACE_MMAP_Memory_Pool::base_addr (void) const +ACE_MMAP_Memory_Pool::base_addr () const { ACE_TRACE ("ACE_MMAP_Memory_Pool::base_addr"); return this->base_addr_; @@ -569,7 +569,7 @@ ACE_Lite_MMAP_Memory_Pool::ACE_Lite_MMAP_Memory_Pool (const ACE_TCHAR *backing_s ACE_TRACE ("ACE_Lite_MMAP_Memory_Pool::ACE_Lite_MMAP_Memory_Pool"); } -ACE_Lite_MMAP_Memory_Pool::~ACE_Lite_MMAP_Memory_Pool (void) +ACE_Lite_MMAP_Memory_Pool::~ACE_Lite_MMAP_Memory_Pool () { } diff --git a/ACE/ace/Malloc.cpp b/ACE/ace/Malloc.cpp index 874b7b75bc0..77023adeb43 100644 --- a/ACE/ace/Malloc.cpp +++ b/ACE/ace/Malloc.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Allocator *ACE_Allocator::allocator_ = 0; void -ACE_Control_Block::ACE_Malloc_Header::dump (void) const +ACE_Control_Block::ACE_Malloc_Header::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Control_Block::ACE_Malloc_Header::dump"); @@ -28,7 +28,7 @@ ACE_Control_Block::ACE_Malloc_Header::dump (void) const } void -ACE_Control_Block::print_alignment_info (void) +ACE_Control_Block::print_alignment_info () { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Control_Block::print_alignment_info"); @@ -64,7 +64,7 @@ ACE_Control_Block::print_alignment_info (void) } void -ACE_Control_Block::dump (void) const +ACE_Control_Block::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Control_Block::dump"); @@ -90,7 +90,7 @@ ACE_Control_Block::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Control_Block::ACE_Name_Node::ACE_Name_Node (void) +ACE_Control_Block::ACE_Name_Node::ACE_Name_Node () : name_ (0), pointer_ (0), next_ (0), @@ -116,19 +116,19 @@ ACE_Control_Block::ACE_Name_Node::ACE_Name_Node (const char *name, } const char * -ACE_Control_Block::ACE_Name_Node::name (void) const +ACE_Control_Block::ACE_Name_Node::name () const { return this->name_; } -ACE_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header (void) +ACE_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header () : next_block_ (0), size_ (0) { } void -ACE_Control_Block::ACE_Name_Node::dump (void) const +ACE_Control_Block::ACE_Name_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Control_Block::ACE_Name_Node::dump"); diff --git a/ACE/ace/Malloc_Allocator.cpp b/ACE/ace/Malloc_Allocator.cpp index 58543303d9b..0726226648c 100644 --- a/ACE/ace/Malloc_Allocator.cpp +++ b/ACE/ace/Malloc_Allocator.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Allocator * -ACE_Allocator::instance (void) +ACE_Allocator::instance () { // ACE_TRACE ("ACE_Allocator::instance"); @@ -74,17 +74,17 @@ ACE_Allocator::instance (ACE_Allocator *r) } void -ACE_Allocator::close_singleton (void) +ACE_Allocator::close_singleton () { ACE_TRACE ("ACE_Allocator::close_singleton"); } -ACE_Allocator::~ACE_Allocator (void) +ACE_Allocator::~ACE_Allocator () { ACE_TRACE ("ACE_Allocator::~ACE_Allocator"); } -ACE_Allocator::ACE_Allocator (void) +ACE_Allocator::ACE_Allocator () { ACE_TRACE ("ACE_Allocator::ACE_Allocator"); } @@ -129,7 +129,7 @@ ACE_New_Allocator::free (void *ptr) } int -ACE_New_Allocator::remove (void) +ACE_New_Allocator::remove () { ACE_NOTSUP_RETURN (-1); } @@ -202,7 +202,7 @@ ACE_New_Allocator::print_stats (void) const #endif /* ACE_HAS_MALLOC_STATS */ void -ACE_New_Allocator::dump (void) const +ACE_New_Allocator::dump () const { #if defined (ACE_HAS_DUMP) #endif /* ACE_HAS_DUMP */ @@ -255,7 +255,7 @@ ACE_Static_Allocator_Base::free (void *ptr) } int -ACE_Static_Allocator_Base::remove (void) +ACE_Static_Allocator_Base::remove () { return -1; } @@ -328,7 +328,7 @@ ACE_Static_Allocator_Base::print_stats (void) const #endif /* ACE_HAS_MALLOC_STATS */ void -ACE_Static_Allocator_Base::dump (void) const +ACE_Static_Allocator_Base::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Static_Allocator_Base::dump"); diff --git a/ACE/ace/Mem_Map.cpp b/ACE/ace/Mem_Map.cpp index e2e04c8df67..93a5b52b880 100644 --- a/ACE/ace/Mem_Map.cpp +++ b/ACE/ace/Mem_Map.cpp @@ -20,7 +20,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Mem_Map) void -ACE_Mem_Map::dump (void) const +ACE_Mem_Map::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Mem_Map::dump"); @@ -37,7 +37,7 @@ ACE_Mem_Map::dump (void) const } int -ACE_Mem_Map::close (void) +ACE_Mem_Map::close () { ACE_TRACE ("ACE_Mem_Map::close"); @@ -46,7 +46,7 @@ ACE_Mem_Map::close (void) return this->close_handle (); } -ACE_Mem_Map::~ACE_Mem_Map (void) +ACE_Mem_Map::~ACE_Mem_Map () { ACE_TRACE ("ACE_Mem_Map::~ACE_Mem_Map"); @@ -236,7 +236,7 @@ ACE_Mem_Map::map (const ACE_TCHAR *file_name, sa); } -ACE_Mem_Map::ACE_Mem_Map (void) +ACE_Mem_Map::ACE_Mem_Map () : base_addr_ (MAP_FAILED), length_ (0), handle_ (ACE_INVALID_HANDLE), @@ -315,7 +315,7 @@ ACE_Mem_Map::ACE_Mem_Map (ACE_HANDLE handle, // Close down and remove the file from the file system. int -ACE_Mem_Map::remove (void) +ACE_Mem_Map::remove () { ACE_TRACE ("ACE_Mem_Map::remove"); diff --git a/ACE/ace/Message_Block.cpp b/ACE/ace/Message_Block.cpp index fca5f105a48..3c6e51350ca 100644 --- a/ACE/ace/Message_Block.cpp +++ b/ACE/ace/Message_Block.cpp @@ -121,7 +121,7 @@ ACE_Message_Block::copy (const char *buf) } int -ACE_Message_Block::crunch (void) +ACE_Message_Block::crunch () { if (this->rd_ptr_ != 0) { @@ -139,7 +139,7 @@ ACE_Message_Block::crunch (void) } void -ACE_Data_Block::dump (void) const +ACE_Data_Block::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Data_Block::dump"); @@ -167,7 +167,7 @@ ACE_Data_Block::dump (void) const } void -ACE_Message_Block::dump (void) const +ACE_Message_Block::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Message_Block::dump"); @@ -193,7 +193,7 @@ ACE_Message_Block::dump (void) const } int -ACE_Data_Block::reference_count (void) const +ACE_Data_Block::reference_count () const { if (this->locking_strategy_) { @@ -266,7 +266,7 @@ ACE_Message_Block::total_size_and_length (size_t &mb_size, } size_t -ACE_Message_Block::total_size (void) const +ACE_Message_Block::total_size () const { ACE_TRACE ("ACE_Message_Block::total_size"); @@ -280,7 +280,7 @@ ACE_Message_Block::total_size (void) const } size_t -ACE_Message_Block::total_length (void) const +ACE_Message_Block::total_length () const { ACE_TRACE ("ACE_Message_Block::total_length"); @@ -294,7 +294,7 @@ ACE_Message_Block::total_length (void) const } size_t -ACE_Message_Block::total_capacity (void) const +ACE_Message_Block::total_capacity () const { ACE_TRACE ("ACE_Message_Block::total_capacity"); @@ -308,7 +308,7 @@ ACE_Message_Block::total_capacity (void) const return size; } -ACE_Data_Block::ACE_Data_Block (void) +ACE_Data_Block::ACE_Data_Block () : type_ (ACE_Message_Block::MB_DATA), cur_size_ (0), max_size_ (0), @@ -751,7 +751,7 @@ ACE_Message_Block::init_i (size_t size, return 0; } -ACE_Data_Block::~ACE_Data_Block (void) +ACE_Data_Block::~ACE_Data_Block () { // Sanity check... ACE_ASSERT (this->reference_count_ <= 1); @@ -768,7 +768,7 @@ ACE_Data_Block::~ACE_Data_Block (void) } ACE_Data_Block * -ACE_Data_Block::release_i (void) +ACE_Data_Block::release_i () { ACE_TRACE ("ACE_Data_Block::release_i"); @@ -851,7 +851,7 @@ ACE_Data_Block::release (ACE_Lock *lock) } ACE_Message_Block * -ACE_Message_Block::release (void) +ACE_Message_Block::release () { ACE_TRACE ("ACE_Message_Block::release"); @@ -967,7 +967,7 @@ ACE_Message_Block::release (ACE_Message_Block *mb) return 0; } -ACE_Message_Block::~ACE_Message_Block (void) +ACE_Message_Block::~ACE_Message_Block () { ACE_TRACE ("ACE_Message_Block::~ACE_Message_Block"); @@ -982,7 +982,7 @@ ACE_Message_Block::~ACE_Message_Block (void) } ACE_Data_Block * -ACE_Data_Block::duplicate (void) +ACE_Data_Block::duplicate () { ACE_TRACE ("ACE_Data_Block::duplicate"); @@ -1009,7 +1009,7 @@ ACE_Data_Block::duplicate (void) #endif /* ACE_HAS_TIMED_MESSAGE_BLOCKS */ ACE_Message_Block * -ACE_Message_Block::duplicate (void) const +ACE_Message_Block::duplicate () const { ACE_TRACE ("ACE_Message_Block::duplicate"); diff --git a/ACE/ace/Message_Queue.cpp b/ACE/ace/Message_Queue.cpp index dc359532551..32f25eff813 100644 --- a/ACE/ace/Message_Queue.cpp +++ b/ACE/ace/Message_Queue.cpp @@ -7,12 +7,12 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Message_Queue_Base::~ACE_Message_Queue_Base (void) +ACE_Message_Queue_Base::~ACE_Message_Queue_Base () { } int -ACE_Message_Queue_Base::state (void) +ACE_Message_Queue_Base::state () { ACE_TRACE ("ACE_Message_Queue_Base::state"); diff --git a/ACE/ace/Method_Request.cpp b/ACE/ace/Method_Request.cpp index f48d395cba2..161ff174d13 100644 --- a/ACE/ace/Method_Request.cpp +++ b/ACE/ace/Method_Request.cpp @@ -7,12 +7,12 @@ ACE_Method_Request::ACE_Method_Request (unsigned long prio) { } -ACE_Method_Request::~ACE_Method_Request (void) +ACE_Method_Request::~ACE_Method_Request () { } unsigned long -ACE_Method_Request::priority (void) const +ACE_Method_Request::priority () const { return this->priority_; } diff --git a/ACE/ace/Monitor_Admin.cpp b/ACE/ace/Monitor_Admin.cpp index 78e82e75df4..d739c88fbe2 100644 --- a/ACE/ace/Monitor_Admin.cpp +++ b/ACE/ace/Monitor_Admin.cpp @@ -25,12 +25,12 @@ namespace ACE //==================================================================== - Monitor_Admin::Monitor_Admin (void) + Monitor_Admin::Monitor_Admin () : reactor_ (ACE_Reactor::instance ()), default_reactor_ (true) {} - Monitor_Admin::~Monitor_Admin (void) + Monitor_Admin::~Monitor_Admin () { if (this->default_reactor_) { @@ -98,7 +98,7 @@ namespace ACE } ACE_Reactor* - Monitor_Admin::reactor (void) const + Monitor_Admin::reactor () const { return this->reactor_; } diff --git a/ACE/ace/Monitor_Admin_Manager.cpp b/ACE/ace/Monitor_Admin_Manager.cpp index b4a363f1d38..86bb54817ec 100644 --- a/ACE/ace/Monitor_Admin_Manager.cpp +++ b/ACE/ace/Monitor_Admin_Manager.cpp @@ -11,13 +11,13 @@ namespace ACE namespace Monitor_Control { Monitor_Admin& - Monitor_Admin_Manager::admin (void) + Monitor_Admin_Manager::admin () { return this->admin_; } int - Monitor_Admin_Manager::Initializer (void) + Monitor_Admin_Manager::Initializer () { return ACE_Service_Config::process_directive (ace_svc_desc_MC_ADMINMANAGER); diff --git a/ACE/ace/Monitor_Base.cpp b/ACE/ace/Monitor_Base.cpp index c152ece18c9..ce445ae9d7b 100644 --- a/ACE/ace/Monitor_Base.cpp +++ b/ACE/ace/Monitor_Base.cpp @@ -28,7 +28,7 @@ namespace ACE { } - Monitor_Base::~Monitor_Base (void) + Monitor_Base::~Monitor_Base () { ACE_GUARD (ACE_SYNCH_MUTEX, guard, this->mutex_); @@ -46,7 +46,7 @@ namespace ACE } void - Monitor_Base::update (void) + Monitor_Base::update () { /// Overridden in derived classes. } @@ -190,7 +190,7 @@ namespace ACE } void - Monitor_Base::clear (void) + Monitor_Base::clear () { ACE_GUARD (ACE_SYNCH_MUTEX, guard, this->mutex_); @@ -221,7 +221,7 @@ namespace ACE } void - Monitor_Base::remove_from_registry (void) + Monitor_Base::remove_from_registry () { if (!Monitor_Point_Registry::instance ()->remove (this->name ())) { @@ -238,7 +238,7 @@ namespace ACE } double - Monitor_Base::average (void) const + Monitor_Base::average () const { if (this->data_.type_ == Monitor_Control_Types::MC_COUNTER || this->data_.type_ == Monitor_Control_Types::MC_GROUP @@ -258,7 +258,7 @@ namespace ACE } double - Monitor_Base::sum_of_squares (void) const + Monitor_Base::sum_of_squares () const { if (this->data_.type_ == Monitor_Control_Types::MC_COUNTER || this->data_.type_ == Monitor_Control_Types::MC_GROUP @@ -277,7 +277,7 @@ namespace ACE } size_t - Monitor_Base::count (void) const + Monitor_Base::count () const { if (this->data_.type_ == Monitor_Control_Types::MC_GROUP) { @@ -295,7 +295,7 @@ namespace ACE } double - Monitor_Base::minimum_sample (void) const + Monitor_Base::minimum_sample () const { if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) @@ -313,7 +313,7 @@ namespace ACE } double - Monitor_Base::maximum_sample (void) const + Monitor_Base::maximum_sample () const { if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) @@ -331,7 +331,7 @@ namespace ACE } double - Monitor_Base::last_sample (void) const + Monitor_Base::last_sample () const { if (this->data_.type_ == Monitor_Control_Types::MC_GROUP || this->data_.type_ == Monitor_Control_Types::MC_LIST) @@ -349,7 +349,7 @@ namespace ACE } Monitor_Control_Types::NameList - Monitor_Base::get_list (void) const + Monitor_Base::get_list () const { Monitor_Control_Types::NameList retval; @@ -374,7 +374,7 @@ namespace ACE } void - Monitor_Base::clear_i (void) + Monitor_Base::clear_i () { if (this->data_.type_ == Monitor_Control_Types::MC_LIST) { diff --git a/ACE/ace/Monitor_Control_Action.cpp b/ACE/ace/Monitor_Control_Action.cpp index 63416dde183..1eb9c1324ea 100644 --- a/ACE/ace/Monitor_Control_Action.cpp +++ b/ACE/ace/Monitor_Control_Action.cpp @@ -10,21 +10,21 @@ namespace ACE { namespace Monitor_Control { - Control_Action::Control_Action (void) + Control_Action::Control_Action () : ACE_Refcountable_T<ACE_SYNCH_MUTEX> (1) {} - Control_Action::~Control_Action (void) + Control_Action::~Control_Action () {} void - Control_Action::add_ref (void) + Control_Action::add_ref () { (void) this->increment (); } void - Control_Action::remove_ref (void) + Control_Action::remove_ref () { const long new_count = this->decrement (); diff --git a/ACE/ace/Monitor_Control_Types.cpp b/ACE/ace/Monitor_Control_Types.cpp index 786ca4c8a93..f5679829841 100644 --- a/ACE/ace/Monitor_Control_Types.cpp +++ b/ACE/ace/Monitor_Control_Types.cpp @@ -26,7 +26,7 @@ namespace ACE //============================================================= - Monitor_Control_Types::Constraint::Constraint (void) + Monitor_Control_Types::Constraint::Constraint () : control_action (0) {} @@ -40,7 +40,7 @@ namespace ACE } } - Monitor_Control_Types::Constraint::~Constraint (void) + Monitor_Control_Types::Constraint::~Constraint () { if (this->control_action != 0) { diff --git a/ACE/ace/Monitor_Point_Registry.cpp b/ACE/ace/Monitor_Point_Registry.cpp index d6c558a2480..05f13aae1d7 100644 --- a/ACE/ace/Monitor_Point_Registry.cpp +++ b/ACE/ace/Monitor_Point_Registry.cpp @@ -12,13 +12,13 @@ namespace ACE namespace Monitor_Control { Monitor_Point_Registry* - Monitor_Point_Registry::instance (void) + Monitor_Point_Registry::instance () { return ACE_Singleton<Monitor_Point_Registry, ACE_SYNCH_MUTEX>::instance (); } - Monitor_Point_Registry::Monitor_Point_Registry (void) + Monitor_Point_Registry::Monitor_Point_Registry () : constraint_id_ (0) { } @@ -101,7 +101,7 @@ namespace ACE } Monitor_Control_Types::NameList - Monitor_Point_Registry::names (void) + Monitor_Point_Registry::names () { Monitor_Control_Types::NameList name_holder_; @@ -137,7 +137,7 @@ namespace ACE } long - Monitor_Point_Registry::constraint_id (void) + Monitor_Point_Registry::constraint_id () { long retval = 0; @@ -151,7 +151,7 @@ namespace ACE } void - Monitor_Point_Registry::cleanup (void) + Monitor_Point_Registry::cleanup () { for (Map::ITERATOR i = this->map_.begin (); i != this->map_.end (); diff --git a/ACE/ace/Monitor_Size.cpp b/ACE/ace/Monitor_Size.cpp index 545a09690aa..d314c72f60b 100644 --- a/ACE/ace/Monitor_Size.cpp +++ b/ACE/ace/Monitor_Size.cpp @@ -10,7 +10,7 @@ namespace ACE { namespace Monitor_Control { - Size_Monitor::Size_Monitor (void) + Size_Monitor::Size_Monitor () : Monitor_Base ("", Monitor_Control_Types::MC_NUMBER) { } @@ -20,19 +20,19 @@ namespace ACE { } - Size_Monitor::~Size_Monitor (void) + Size_Monitor::~Size_Monitor () { } void - Size_Monitor::update (void) + Size_Monitor::update () { // No platform-specific or periodic code is needed, receive() can be // called directly whenever the size changes. } void - Size_Monitor::clear (void) + Size_Monitor::clear () { this->Monitor_Base::clear (); } diff --git a/ACE/ace/Multihomed_INET_Addr.cpp b/ACE/ace/Multihomed_INET_Addr.cpp index 1acc40c1053..08de42a0ea3 100644 --- a/ACE/ace/Multihomed_INET_Addr.cpp +++ b/ACE/ace/Multihomed_INET_Addr.cpp @@ -13,7 +13,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Multihomed_INET_Addr) // Default constructor -ACE_Multihomed_INET_Addr::ACE_Multihomed_INET_Addr (void) +ACE_Multihomed_INET_Addr::ACE_Multihomed_INET_Addr () : secondaries_ (0) { ACE_TRACE ("ACE_Multihomed_INET_Addr::ACE_Multihomed_INET_Addr"); @@ -323,7 +323,7 @@ ACE_Multihomed_INET_Addr::get_addresses(sockaddr_in6 *addrs, #endif /* ACE_HAS_IPV6 */ -ACE_Multihomed_INET_Addr::~ACE_Multihomed_INET_Addr (void) +ACE_Multihomed_INET_Addr::~ACE_Multihomed_INET_Addr () { } diff --git a/ACE/ace/Mutex.cpp b/ACE/ace/Mutex.cpp index c5e982a5d59..9a41c715ddb 100644 --- a/ACE/ace/Mutex.cpp +++ b/ACE/ace/Mutex.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Mutex) void -ACE_Mutex::dump (void) const +ACE_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Mutex::dump"); @@ -143,7 +143,7 @@ ACE_Mutex::ACE_Mutex (int type, const ACE_TCHAR *name, ACE_TEXT ("ACE_Mutex::ACE_Mutex"))); } -ACE_Mutex::~ACE_Mutex (void) +ACE_Mutex::~ACE_Mutex () { // ACE_TRACE ("ACE_Mutex::~ACE_Mutex"); this->remove (); diff --git a/ACE/ace/Name_Proxy.cpp b/ACE/ace/Name_Proxy.cpp index fc99cb6aa0c..02371967f7b 100644 --- a/ACE/ace/Name_Proxy.cpp +++ b/ACE/ace/Name_Proxy.cpp @@ -7,7 +7,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Name_Proxy::dump (void) const +ACE_Name_Proxy::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Name_Proxy::dump"); @@ -22,7 +22,7 @@ ACE_Name_Proxy::dump (void) const // Default constructor. -ACE_Name_Proxy::ACE_Name_Proxy (void) +ACE_Name_Proxy::ACE_Name_Proxy () : reactor_ (0) { ACE_TRACE ("ACE_Name_Proxy::ACE_Name_Proxy"); @@ -64,7 +64,7 @@ ACE_Name_Proxy::ACE_Name_Proxy ( // Obtain underlying handle. /* VIRTUAL */ ACE_HANDLE -ACE_Name_Proxy::get_handle (void) const +ACE_Name_Proxy::get_handle () const { ACE_TRACE ("ACE_Name_Proxy::get_handle"); return this->peer_.get_handle (); @@ -198,7 +198,7 @@ ACE_Name_Proxy::recv_reply (ACE_Name_Request &reply) // Close down the connection to the server. -ACE_Name_Proxy::~ACE_Name_Proxy (void) +ACE_Name_Proxy::~ACE_Name_Proxy () { ACE_TRACE ("ACE_Name_Proxy::~ACE_Name_Proxy"); this->peer_.close (); diff --git a/ACE/ace/Name_Request_Reply.cpp b/ACE/ace/Name_Request_Reply.cpp index 72cc2a2a39a..e76dbf257c1 100644 --- a/ACE/ace/Name_Request_Reply.cpp +++ b/ACE/ace/Name_Request_Reply.cpp @@ -11,7 +11,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Default "do nothing" constructor. -ACE_Name_Request::ACE_Name_Request (void) +ACE_Name_Request::ACE_Name_Request () { ACE_TRACE ("ACE_Name_Request::ACE_Name_Request"); } @@ -77,7 +77,7 @@ ACE_Name_Request::ACE_Name_Request ( // Initialize length_ in order to avoid problems with byte-ordering. void -ACE_Name_Request::init (void) +ACE_Name_Request::init () { ACE_TRACE ("ACE_Name_Request::init"); this->length (sizeof this->transfer_); @@ -86,7 +86,7 @@ ACE_Name_Request::init (void) // = Set/get the length of the encoded/decoded message. ACE_UINT32 -ACE_Name_Request::length (void) const +ACE_Name_Request::length () const { ACE_TRACE ("ACE_Name_Request::length"); return this->transfer_.length_; @@ -102,7 +102,7 @@ ACE_Name_Request::length (ACE_UINT32 l) // = Set/get the type of the message. ACE_INT32 -ACE_Name_Request::msg_type (void) const +ACE_Name_Request::msg_type () const { ACE_TRACE ("ACE_Name_Request::msg_type"); return this->transfer_.msg_type_; @@ -118,7 +118,7 @@ ACE_Name_Request::msg_type (ACE_INT32 t) // = Set/get the len of the name ACE_UINT32 -ACE_Name_Request::name_len (void) const +ACE_Name_Request::name_len () const { ACE_TRACE ("ACE_Name_Request::name_len"); return this->transfer_.name_len_; @@ -134,7 +134,7 @@ ACE_Name_Request::name_len (ACE_UINT32 t) // = Set/get the len of the value ACE_UINT32 -ACE_Name_Request::value_len (void) const +ACE_Name_Request::value_len () const { ACE_TRACE ("ACE_Name_Request::value_len"); return this->transfer_.value_len_; @@ -150,7 +150,7 @@ ACE_Name_Request::value_len (ACE_UINT32 t) // = Set/get the len of the type ACE_UINT32 -ACE_Name_Request::type_len (void) const +ACE_Name_Request::type_len () const { ACE_TRACE ("ACE_Name_Request::type_len"); return this->transfer_.type_len_; @@ -166,7 +166,7 @@ ACE_Name_Request::type_len (ACE_UINT32 t) // = Set/get the blocking semantics. ACE_UINT32 -ACE_Name_Request::block_forever (void) const +ACE_Name_Request::block_forever () const { ACE_TRACE ("ACE_Name_Request::block_forever"); return this->transfer_.block_forever_; @@ -182,7 +182,7 @@ ACE_Name_Request::block_forever (ACE_UINT32 bs) // = Set/get the timeout. ACE_Time_Value -ACE_Name_Request::timeout (void) const +ACE_Name_Request::timeout () const { ACE_TRACE ("ACE_Name_Request::timeout"); time_t sec = ACE_Utils::truncate_cast<time_t> (this->transfer_.sec_timeout_); @@ -200,7 +200,7 @@ ACE_Name_Request::timeout (const ACE_Time_Value timeout) // = Set/get the name const ACE_WCHAR_T * -ACE_Name_Request::name (void) const +ACE_Name_Request::name () const { ACE_TRACE ("ACE_Name_Request::name"); return this->name_; @@ -218,7 +218,7 @@ ACE_Name_Request::name (const ACE_WCHAR_T *t) // = Set/get the value const ACE_WCHAR_T * -ACE_Name_Request::value (void) const +ACE_Name_Request::value () const { ACE_TRACE ("ACE_Name_Request::value"); return this->value_; @@ -237,7 +237,7 @@ ACE_Name_Request::value (const ACE_WCHAR_T *c) // = Set/get the type const char * -ACE_Name_Request::type (void) const +ACE_Name_Request::type () const { ACE_TRACE ("ACE_Name_Request::type"); return this->type_; @@ -291,7 +291,7 @@ ACE_Name_Request::encode (void *&buf) // be used by the server. int -ACE_Name_Request::decode (void) +ACE_Name_Request::decode () { ACE_TRACE ("ACE_Name_Request::decode"); // Decode the fixed-sized portion first. @@ -327,7 +327,7 @@ ACE_Name_Request::decode (void) // Print out the current values of the ACE_Name_Request. void -ACE_Name_Request::dump (void) const +ACE_Name_Request::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Name_Request::dump"); @@ -413,7 +413,7 @@ ACE_Name_Request::dump (void) const // Default constructor. -ACE_Name_Reply::ACE_Name_Reply (void) +ACE_Name_Reply::ACE_Name_Reply () { ACE_TRACE ("ACE_Name_Reply::ACE_Name_Reply"); @@ -436,7 +436,7 @@ ACE_Name_Reply::ACE_Name_Reply (ACE_UINT32 t, ACE_UINT32 err) // Type of reply. // Initialize length_ to avoid problems with byte-ordering. void -ACE_Name_Reply::init (void) +ACE_Name_Reply::init () { ACE_TRACE ("ACE_Name_Reply::init"); this->length (sizeof this->transfer_); @@ -445,7 +445,7 @@ ACE_Name_Reply::init (void) // = Set/get the length of the encoded/decoded message. ACE_UINT32 -ACE_Name_Reply::length (void) const +ACE_Name_Reply::length () const { ACE_TRACE ("ACE_Name_Reply::length"); return this->transfer_.length_; @@ -461,7 +461,7 @@ ACE_Name_Reply::length (ACE_UINT32 l) // = Set/get the type of the message. ACE_INT32 -ACE_Name_Reply::msg_type (void) const +ACE_Name_Reply::msg_type () const { ACE_TRACE ("ACE_Name_Reply::msg_type"); return this->transfer_.type_; @@ -477,7 +477,7 @@ ACE_Name_Reply::msg_type (ACE_INT32 t) // Get the status of the reply (0 == success, -1 == failure). ACE_INT32 -ACE_Name_Reply::status (void) const +ACE_Name_Reply::status () const { ACE_TRACE ("ACE_Name_Reply::status"); return this->transfer_.type_; @@ -497,7 +497,7 @@ ACE_Name_Reply::status (ACE_INT32 s) // = Set/get the errno of a failed reply. ACE_UINT32 -ACE_Name_Reply::errnum (void) const +ACE_Name_Reply::errnum () const { ACE_TRACE ("ACE_Name_Reply::errnum"); return this->transfer_.errno_; @@ -530,7 +530,7 @@ ACE_Name_Reply::encode (void *&buf) // used by the client. int -ACE_Name_Reply::decode (void) +ACE_Name_Reply::decode () { ACE_TRACE ("ACE_Name_Reply::decode"); this->transfer_.length_ = ACE_NTOHL (this->transfer_.length_); @@ -542,7 +542,7 @@ ACE_Name_Reply::decode (void) // Print out current values of the ACE_Name_Reply object. void -ACE_Name_Reply::dump (void) const +ACE_Name_Reply::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Name_Reply::dump"); diff --git a/ACE/ace/Name_Space.cpp b/ACE/ace/Name_Space.cpp index 403f473bdb1..0e1228909a5 100644 --- a/ACE/ace/Name_Space.cpp +++ b/ACE/ace/Name_Space.cpp @@ -7,7 +7,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Name_Binding::ACE_Name_Binding (void) +ACE_Name_Binding::ACE_Name_Binding () : name_ (), value_ (), type_ (ACE_OS::strdup ("")) @@ -16,7 +16,7 @@ ACE_Name_Binding::ACE_Name_Binding (void) } -ACE_Name_Binding::~ACE_Name_Binding (void) +ACE_Name_Binding::~ACE_Name_Binding () { ACE_TRACE ("ACE_Name_Binding::~ACE_Name_Binding"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -73,7 +73,7 @@ ACE_Name_Binding::operator == (const ACE_Name_Binding &s) const && ACE_OS::strcmp (this->type_, s.type_) == 0; } -ACE_Name_Space::~ACE_Name_Space (void) +ACE_Name_Space::~ACE_Name_Space () { ACE_TRACE ("ACE_Name_Space::~ACE_Name_Space"); } diff --git a/ACE/ace/Naming_Context.cpp b/ACE/ace/Naming_Context.cpp index 2cbd95003f3..46b6ebd975a 100644 --- a/ACE/ace/Naming_Context.cpp +++ b/ACE/ace/Naming_Context.cpp @@ -50,7 +50,7 @@ ACE_Naming_Context::info (ACE_TCHAR **strp, } int -ACE_Naming_Context::local (void) +ACE_Naming_Context::local () { ACE_TRACE ("ACE_Naming_Context::local"); return ACE_OS::strcmp (this->netnameserver_host_, @@ -116,7 +116,7 @@ ACE_Naming_Context::open (Context_Scope_Type scope_in, int lite) } int -ACE_Naming_Context::close_down (void) +ACE_Naming_Context::close_down () { ACE_TRACE ("ACE_Naming_Context::close_down"); @@ -127,7 +127,7 @@ ACE_Naming_Context::close_down (void) } int -ACE_Naming_Context::close (void) +ACE_Naming_Context::close () { ACE_TRACE ("ACE_Naming_Context::close"); @@ -137,7 +137,7 @@ ACE_Naming_Context::close (void) return 0; } -ACE_Naming_Context::ACE_Naming_Context (void) +ACE_Naming_Context::ACE_Naming_Context () : name_options_ (0), name_space_ (0), netnameserver_host_ (0), @@ -168,7 +168,7 @@ ACE_Naming_Context::ACE_Naming_Context (Context_Scope_Type scope_in, } ACE_Name_Options * -ACE_Naming_Context::name_options (void) +ACE_Naming_Context::name_options () { return this->name_options_; } @@ -379,7 +379,7 @@ ACE_Naming_Context::list_type_entries (ACE_BINDING_SET &set_out, ACE_NS_WString (pattern_in)); } -ACE_Naming_Context::~ACE_Naming_Context (void) +ACE_Naming_Context::~ACE_Naming_Context () { ACE_TRACE ("ACE_Naming_Context::~ACE_Naming_Context"); @@ -406,7 +406,7 @@ ACE_Naming_Context::init (int argc, ACE_TCHAR *argv[]) } int -ACE_Naming_Context::fini (void) +ACE_Naming_Context::fini () { if (ACE::debug ()) ACELIB_DEBUG ((LM_DEBUG, @@ -415,7 +415,7 @@ ACE_Naming_Context::fini (void) return 0; } -ACE_Name_Options::ACE_Name_Options (void) +ACE_Name_Options::ACE_Name_Options () : debugging_ (false), verbosity_ (false), use_registry_ (false), @@ -448,7 +448,7 @@ ACE_Name_Options::ACE_Name_Options (void) #endif /* ACE_DEFAULT_NAMESPACE_DIR */ } -ACE_Name_Options::~ACE_Name_Options (void) +ACE_Name_Options::~ACE_Name_Options () { ACE_TRACE ("ACE_Name_Options::~ACE_Name_Options"); @@ -475,7 +475,7 @@ ACE_Name_Options::nameserver_port (int port) } int -ACE_Name_Options::nameserver_port (void) +ACE_Name_Options::nameserver_port () { ACE_TRACE ("ACE_Name_Options::nameserver_port"); return this->nameserver_port_; @@ -519,14 +519,14 @@ ACE_Name_Options::nameserver_host (const ACE_TCHAR *host) } const ACE_TCHAR * -ACE_Name_Options::nameserver_host (void) +ACE_Name_Options::nameserver_host () { ACE_TRACE ("ACE_Name_Options::nameserver_host"); return this->nameserver_host_; } const ACE_TCHAR * -ACE_Name_Options::database (void) +ACE_Name_Options::database () { ACE_TRACE ("ACE_Name_Options::database"); return this->database_; @@ -545,7 +545,7 @@ ACE_Name_Options::database (const ACE_TCHAR *db) } char * -ACE_Name_Options::base_address (void) +ACE_Name_Options::base_address () { ACE_TRACE ("ACE_Name_Options::base_address"); return this->base_address_; @@ -559,7 +559,7 @@ ACE_Name_Options::base_address (char *base_address) } ACE_Naming_Context::Context_Scope_Type -ACE_Name_Options::context (void) +ACE_Name_Options::context () { ACE_TRACE ("ACE_Name_Options::context"); return this->context_; diff --git a/ACE/ace/Netlink_Addr.cpp b/ACE/ace/Netlink_Addr.cpp index 198ee7293fb..dbd44a0e0a0 100644 --- a/ACE/ace/Netlink_Addr.cpp +++ b/ACE/ace/Netlink_Addr.cpp @@ -51,13 +51,13 @@ ACE_Netlink_Addr::ACE_Netlink_Addr (const sockaddr_nl *un, int len) } int -ACE_Netlink_Addr::get_pid (void) const +ACE_Netlink_Addr::get_pid () const { return this->nl_.nl_pid; } int -ACE_Netlink_Addr::get_gid (void) const +ACE_Netlink_Addr::get_gid () const { return this->nl_.nl_groups; } diff --git a/ACE/ace/Notification_Strategy.cpp b/ACE/ace/Notification_Strategy.cpp index 854e9d962ff..5df0b52dadf 100644 --- a/ACE/ace/Notification_Strategy.cpp +++ b/ACE/ace/Notification_Strategy.cpp @@ -13,7 +13,7 @@ ACE_Notification_Strategy::ACE_Notification_Strategy (ACE_Event_Handler *eh, { } -ACE_Notification_Strategy::~ACE_Notification_Strategy (void) +ACE_Notification_Strategy::~ACE_Notification_Strategy () { } diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp index cc8361494ce..4c94dd13120 100644 --- a/ACE/ace/OS_NS_Thread.cpp +++ b/ACE/ace/OS_NS_Thread.cpp @@ -2404,7 +2404,7 @@ ACE_OS::mutex_lock_cleanup (void *mutex) #ifndef ACE_WIN32 -int ACE_event_t::lock (void) +int ACE_event_t::lock () { # if !ACE_EVENT_USE_MUTEX_PSHARED if (this->eventdata_->type_ == USYNC_PROCESS) @@ -2413,7 +2413,7 @@ int ACE_event_t::lock (void) return ACE_OS::mutex_lock (&this->eventdata_->lock_); } -int ACE_event_t::unlock (void) +int ACE_event_t::unlock () { # if !ACE_EVENT_USE_MUTEX_PSHARED if (this->eventdata_->type_ == USYNC_PROCESS) @@ -2422,7 +2422,7 @@ int ACE_event_t::unlock (void) return ACE_OS::mutex_unlock (&this->eventdata_->lock_); } -int ACE_event_t::wake_one (void) +int ACE_event_t::wake_one () { # if !ACE_EVENT_USE_COND_PSHARED if (this->eventdata_->type_ == USYNC_PROCESS) diff --git a/ACE/ace/OS_NS_stdio.cpp b/ACE/ace/OS_NS_stdio.cpp index dd537ae17e9..8579fc7f4b1 100644 --- a/ACE/ace/OS_NS_stdio.cpp +++ b/ACE/ace/OS_NS_stdio.cpp @@ -53,7 +53,7 @@ namespace ACE_OS { void -ace_flock_t::dump (void) const +ace_flock_t::dump () const { #if defined (ACE_HAS_DUMP) ACE_OS_TRACE ("ACE_OS::ace_flock_t::dump"); diff --git a/ACE/ace/OS_NS_stdlib.cpp b/ACE/ace/OS_NS_stdlib.cpp index e73808e9af7..17cba804867 100644 --- a/ACE/ace/OS_NS_stdlib.cpp +++ b/ACE/ace/OS_NS_stdlib.cpp @@ -88,7 +88,7 @@ ACE_OS::free (void *ptr) #endif /* ACE_WIN32 && UNICODE !ACE_USES_TCHAR */ ACE_TCHAR * -ACE_OS::getenvstrings (void) +ACE_OS::getenvstrings () { #if defined (ACE_LACKS_GETENVSTRINGS) ACE_NOTSUP_RETURN (0); diff --git a/ACE/ace/OS_NS_sys_socket.cpp b/ACE/ace/OS_NS_sys_socket.cpp index 2a50289d29e..e7a6a0647bb 100644 --- a/ACE/ace/OS_NS_sys_socket.cpp +++ b/ACE/ace/OS_NS_sys_socket.cpp @@ -128,7 +128,7 @@ ACE_OS::socket_init (int version_high, int version_low) } int -ACE_OS::socket_fini (void) +ACE_OS::socket_fini () { # if defined (ACE_WIN32) if (ACE_OS::socket_initialized_ != 0) diff --git a/ACE/ace/OS_NS_unistd.cpp b/ACE/ace/OS_NS_unistd.cpp index 563e385fffd..04900f3d318 100644 --- a/ACE/ace/OS_NS_unistd.cpp +++ b/ACE/ace/OS_NS_unistd.cpp @@ -399,7 +399,7 @@ ACE_OS::fork_exec (ACE_TCHAR *argv[]) } long -ACE_OS::num_processors (void) +ACE_OS::num_processors () { ACE_OS_TRACE ("ACE_OS::num_processors"); @@ -433,7 +433,7 @@ ACE_OS::num_processors (void) } long -ACE_OS::num_processors_online (void) +ACE_OS::num_processors_online () { ACE_OS_TRACE ("ACE_OS::num_processors_online"); diff --git a/ACE/ace/OS_QoS.cpp b/ACE/ace/OS_QoS.cpp index 47bce4a886c..c5b991a0ce2 100644 --- a/ACE/ace/OS_QoS.cpp +++ b/ACE/ace/OS_QoS.cpp @@ -59,7 +59,7 @@ ACE_Flow_Spec::ACE_Flow_Spec (unsigned long token_rate, #endif /* defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) */ } -ACE_Flow_Spec::ACE_Flow_Spec (void) +ACE_Flow_Spec::ACE_Flow_Spec () { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -90,7 +90,7 @@ ACE_Flow_Spec::ACE_Flow_Spec (void) } unsigned long -ACE_Flow_Spec::token_rate (void) const +ACE_Flow_Spec::token_rate () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return this->TokenRate; @@ -110,7 +110,7 @@ ACE_Flow_Spec::token_rate (unsigned long tr) } unsigned long -ACE_Flow_Spec::token_bucket_size (void) const +ACE_Flow_Spec::token_bucket_size () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return this->TokenBucketSize; @@ -130,7 +130,7 @@ ACE_Flow_Spec::token_bucket_size (unsigned long tbs) } unsigned long -ACE_Flow_Spec::peak_bandwidth (void) const +ACE_Flow_Spec::peak_bandwidth () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return this->PeakBandwidth; @@ -150,7 +150,7 @@ ACE_Flow_Spec::peak_bandwidth (unsigned long pb) } unsigned long -ACE_Flow_Spec::latency (void) const +ACE_Flow_Spec::latency () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return this->Latency; @@ -170,7 +170,7 @@ ACE_Flow_Spec::latency (unsigned long l) } unsigned long -ACE_Flow_Spec::delay_variation (void) const +ACE_Flow_Spec::delay_variation () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return this->DelayVariation; @@ -189,7 +189,7 @@ ACE_Flow_Spec::delay_variation (unsigned long dv) } ACE_SERVICE_TYPE -ACE_Flow_Spec::service_type (void) const +ACE_Flow_Spec::service_type () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -211,7 +211,7 @@ ACE_Flow_Spec::service_type (ACE_SERVICE_TYPE st) } unsigned long -ACE_Flow_Spec::max_sdu_size (void) const +ACE_Flow_Spec::max_sdu_size () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -233,7 +233,7 @@ ACE_Flow_Spec::max_sdu_size (unsigned long mss) } unsigned long -ACE_Flow_Spec::minimum_policed_size (void) const +ACE_Flow_Spec::minimum_policed_size () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -255,7 +255,7 @@ ACE_Flow_Spec::minimum_policed_size (unsigned long mps) } int -ACE_Flow_Spec::ttl (void) const +ACE_Flow_Spec::ttl () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -278,7 +278,7 @@ ACE_Flow_Spec::ttl (int t) } int -ACE_Flow_Spec::priority (void) const +ACE_Flow_Spec::priority () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) && \ defined (ACE_HAS_WINSOCK2_GQOS) @@ -300,7 +300,7 @@ ACE_Flow_Spec::priority (int p) #endif /* ACE_HAS_WINSOCK2 */ } -ACE_QoS::ACE_QoS (void) +ACE_QoS::ACE_QoS () #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) #else : sending_flowspec_ (0), @@ -310,7 +310,7 @@ ACE_QoS::ACE_QoS (void) } ACE_Flow_Spec* -ACE_QoS::sending_flowspec (void) const +ACE_QoS::sending_flowspec () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return &((ACE_Flow_Spec &) this->SendingFlowspec); @@ -330,7 +330,7 @@ ACE_QoS::sending_flowspec (ACE_Flow_Spec *fs) } ACE_Flow_Spec* -ACE_QoS::receiving_flowspec (void) const +ACE_QoS::receiving_flowspec () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return &((ACE_Flow_Spec &) this->ReceivingFlowspec); @@ -350,7 +350,7 @@ ACE_QoS::receiving_flowspec (ACE_Flow_Spec *fs) } iovec -ACE_QoS::provider_specific (void) const +ACE_QoS::provider_specific () const { #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) return (iovec&) this->ProviderSpecific; @@ -383,7 +383,7 @@ ACE_QoS_Params::ACE_QoS_Params (iovec *caller_data, } iovec * -ACE_QoS_Params::caller_data (void) const +ACE_QoS_Params::caller_data () const { return this->caller_data_; } @@ -395,7 +395,7 @@ ACE_QoS_Params::caller_data (iovec *cd) } iovec * -ACE_QoS_Params::callee_data (void) const +ACE_QoS_Params::callee_data () const { return this->callee_data_; } @@ -407,7 +407,7 @@ ACE_QoS_Params::callee_data (iovec *cd) } ACE_QoS * -ACE_QoS_Params::socket_qos (void) const +ACE_QoS_Params::socket_qos () const { return this->socket_qos_; } @@ -419,7 +419,7 @@ ACE_QoS_Params::socket_qos (ACE_QoS *sq) } ACE_QoS * -ACE_QoS_Params::group_socket_qos (void) const +ACE_QoS_Params::group_socket_qos () const { return this->group_socket_qos_; } @@ -431,7 +431,7 @@ ACE_QoS_Params::group_socket_qos (ACE_QoS *gsq) } unsigned long -ACE_QoS_Params::flags (void) const +ACE_QoS_Params::flags () const { return this->flags_; } @@ -450,7 +450,7 @@ ACE_Accept_QoS_Params::ACE_Accept_QoS_Params (ACE_QOS_CONDITION_FUNC qos_conditi } ACE_QOS_CONDITION_FUNC -ACE_Accept_QoS_Params::qos_condition_callback (void) const +ACE_Accept_QoS_Params::qos_condition_callback () const { return this->qos_condition_callback_; } @@ -462,7 +462,7 @@ ACE_Accept_QoS_Params::qos_condition_callback (ACE_QOS_CONDITION_FUNC qcc) } unsigned long -ACE_Accept_QoS_Params::callback_data (void) const +ACE_Accept_QoS_Params::callback_data () const { return this->callback_data_; } diff --git a/ACE/ace/OS_Thread_Adapter.cpp b/ACE/ace/OS_Thread_Adapter.cpp index 355408b457e..6074974a232 100644 --- a/ACE/ace/OS_Thread_Adapter.cpp +++ b/ACE/ace/OS_Thread_Adapter.cpp @@ -32,14 +32,14 @@ ACE_OS_Thread_Adapter::ACE_OS_Thread_Adapter ( { } -ACE_OS_Thread_Adapter::~ACE_OS_Thread_Adapter (void) +ACE_OS_Thread_Adapter::~ACE_OS_Thread_Adapter () { } ACE_ALLOC_HOOK_DEFINE(ACE_OS_Thread_Adapter) ACE_THR_FUNC_RETURN -ACE_OS_Thread_Adapter::invoke (void) +ACE_OS_Thread_Adapter::invoke () { // Inherit the logging features if the parent thread has an // ACE_Log_Msg instance in thread-specific storage. diff --git a/ACE/ace/Obchunk.cpp b/ACE/ace/Obchunk.cpp index e9493a3470c..bcfc5c09a5f 100644 --- a/ACE/ace/Obchunk.cpp +++ b/ACE/ace/Obchunk.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Obchunk) void -ACE_Obchunk::dump (void) const +ACE_Obchunk::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Obchunk::dump"); diff --git a/ACE/ace/Object_Manager.cpp b/ACE/ace/Object_Manager.cpp index 77426f599b2..eb8aaf462e7 100644 --- a/ACE/ace/Object_Manager.cpp +++ b/ACE/ace/Object_Manager.cpp @@ -117,8 +117,8 @@ void *ACE_Object_Manager::preallocated_array[ class ACE_Object_Manager_Preallocations { public: - ACE_Object_Manager_Preallocations (void); - ~ACE_Object_Manager_Preallocations (void); + ACE_Object_Manager_Preallocations (); + ~ACE_Object_Manager_Preallocations (); ACE_ALLOC_HOOK_DECLARE; @@ -126,7 +126,7 @@ private: ACE_Static_Svc_Descriptor ace_svc_desc_ACE_Service_Manager; }; -ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations (void) +ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations () { ACE_STATIC_SVC_DEFINE (ACE_Service_Manager_initializer, ACE_TEXT ("ACE_Service_Manager"), @@ -146,7 +146,7 @@ ACE_Object_Manager_Preallocations::ACE_Object_Manager_Preallocations (void) insert (&ace_svc_desc_ACE_Service_Manager); } -ACE_Object_Manager_Preallocations::~ACE_Object_Manager_Preallocations (void) +ACE_Object_Manager_Preallocations::~ACE_Object_Manager_Preallocations () { } @@ -155,13 +155,13 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Object_Manager_Preallocations) #endif /* ! ACE_LACKS_ACE_SVCCONF */ int -ACE_Object_Manager::starting_up (void) +ACE_Object_Manager::starting_up () { return ACE_Object_Manager::instance_ ? instance_->starting_up_i () : 1; } int -ACE_Object_Manager::shutting_down (void) +ACE_Object_Manager::shutting_down () { return ACE_Object_Manager::instance_ ? instance_->shutting_down_i () : 1; } @@ -187,7 +187,7 @@ LONG WINAPI ACE_UnhandledExceptionFilter (PEXCEPTION_POINTERS pExceptionInfo) // objects, but only The Instance sets up the static preallocated objects and // the (static) ACE_Service_Config signal handler. int -ACE_Object_Manager::init (void) +ACE_Object_Manager::init () { if (starting_up_i ()) { @@ -375,7 +375,7 @@ ACE_Object_Manager::init_tss_i (void) #endif -ACE_Object_Manager::ACE_Object_Manager (void) +ACE_Object_Manager::ACE_Object_Manager () // With ACE_HAS_TSS_EMULATION, ts_storage_ is initialized by the call to // ACE_OS::tss_open () in the function body. : exit_info_ () @@ -411,7 +411,7 @@ ACE_Object_Manager::ACE_Object_Manager (void) init (); } -ACE_Object_Manager::~ACE_Object_Manager (void) +ACE_Object_Manager::~ACE_Object_Manager () { dynamically_allocated_ = false; // Don't delete this again in fini() fini (); @@ -420,7 +420,7 @@ ACE_Object_Manager::~ACE_Object_Manager (void) ACE_ALLOC_HOOK_DEFINE(ACE_Object_Manager) ACE_Object_Manager * -ACE_Object_Manager::instance (void) +ACE_Object_Manager::instance () { // This function should be called during construction of static // instances, or before any other threads have been created in @@ -709,7 +709,7 @@ ACE_Object_Manager::get_singleton_lock (ACE_RW_Thread_Mutex *&lock) // Only The Instance cleans up the static preallocated objects. All objects // clean up their per-object information and managed objects. int -ACE_Object_Manager::fini (void) +ACE_Object_Manager::fini () { if (shutting_down_i ()) // Too late. Or, maybe too early. Either fini () has already @@ -858,15 +858,15 @@ ACE_Object_Manager::fini (void) class ACE_Export ACE_Object_Manager_Manager { public: - ACE_Object_Manager_Manager (void); - ~ACE_Object_Manager_Manager (void); + ACE_Object_Manager_Manager (); + ~ACE_Object_Manager_Manager (); private: /// Save the main thread ID, so that destruction can be suppressed. ACE_thread_t saved_main_thread_id_; }; -ACE_Object_Manager_Manager::ACE_Object_Manager_Manager (void) +ACE_Object_Manager_Manager::ACE_Object_Manager_Manager () : saved_main_thread_id_ (ACE_OS::thr_self ()) { // Ensure that the Object_Manager gets initialized before any @@ -876,7 +876,7 @@ ACE_Object_Manager_Manager::ACE_Object_Manager_Manager (void) (void) ACE_Object_Manager::instance (); } -ACE_Object_Manager_Manager::~ACE_Object_Manager_Manager (void) +ACE_Object_Manager_Manager::~ACE_Object_Manager_Manager () { if (ACE_OS::thr_equal (ACE_OS::thr_self (), saved_main_thread_id_)) @@ -905,7 +905,7 @@ static ACE_Static_Object_Lock_Type *ACE_Static_Object_Lock_lock = 0; // <jody@atdesk.com> for contributing it. ACE_Recursive_Thread_Mutex * -ACE_Static_Object_Lock::instance (void) +ACE_Static_Object_Lock::instance () { if (ACE_Object_Manager::starting_up () || ACE_Object_Manager::shutting_down ()) @@ -952,7 +952,7 @@ ACE_Static_Object_Lock::instance (void) } void -ACE_Static_Object_Lock::cleanup_lock (void) +ACE_Static_Object_Lock::cleanup_lock () { # if defined(ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK) // It was malloc'd, so we need to explicitly call the dtor diff --git a/ACE/ace/Object_Manager_Base.cpp b/ACE/ace/Object_Manager_Base.cpp index 9e17e8210cd..c38e811c73b 100644 --- a/ACE/ace/Object_Manager_Base.cpp +++ b/ACE/ace/Object_Manager_Base.cpp @@ -47,14 +47,14 @@ int ACE_SEH_Default_Exception_Handler (void *) preallocated_object[ID] = 0; #endif /* ACE_HAS_ALLOC_HOOKS */ -ACE_Object_Manager_Base::ACE_Object_Manager_Base (void) +ACE_Object_Manager_Base::ACE_Object_Manager_Base () : object_manager_state_ (OBJ_MAN_UNINITIALIZED) , dynamically_allocated_ (false) , next_ (0) { } -ACE_Object_Manager_Base::~ACE_Object_Manager_Base (void) +ACE_Object_Manager_Base::~ACE_Object_Manager_Base () { #if defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) // Clear the flag so that fini () doesn't delete again. @@ -89,7 +89,7 @@ ACE_OS_Object_Manager *ACE_OS_Object_Manager::instance_ = 0; void *ACE_OS_Object_Manager::preallocated_object[ ACE_OS_Object_Manager::ACE_OS_PREALLOCATED_OBJECTS] = { 0 }; -ACE_OS_Object_Manager::ACE_OS_Object_Manager (void) +ACE_OS_Object_Manager::ACE_OS_Object_Manager () : default_mask_ (0) , thread_hook_ (0) , exit_info_ () @@ -115,7 +115,7 @@ ACE_OS_Object_Manager::ACE_OS_Object_Manager (void) init (); } -ACE_OS_Object_Manager::~ACE_OS_Object_Manager (void) +ACE_OS_Object_Manager::~ACE_OS_Object_Manager () { dynamically_allocated_ = false; // Don't delete this again in fini() fini (); @@ -124,13 +124,13 @@ ACE_OS_Object_Manager::~ACE_OS_Object_Manager (void) ACE_ALLOC_HOOK_DEFINE(ACE_OS_Object_Manager) sigset_t * -ACE_OS_Object_Manager::default_mask (void) +ACE_OS_Object_Manager::default_mask () { return ACE_OS_Object_Manager::instance ()->default_mask_; } ACE_Thread_Hook * -ACE_OS_Object_Manager::thread_hook (void) +ACE_OS_Object_Manager::thread_hook () { return ACE_OS_Object_Manager::instance ()->thread_hook_; } @@ -181,7 +181,7 @@ ACE_OS_Object_Manager::thread_hook (ACE_Thread_Hook *new_thread_hook) } ACE_OS_Object_Manager * -ACE_OS_Object_Manager::instance (void) +ACE_OS_Object_Manager::instance () { // This function should be called during construction of static // instances, or before any other threads have been created in the @@ -206,7 +206,7 @@ ACE_OS_Object_Manager::instance (void) } int -ACE_OS_Object_Manager::init (void) +ACE_OS_Object_Manager::init () { if (starting_up_i ()) { @@ -306,7 +306,7 @@ ACE_OS_Object_Manager::init (void) // reason. All objects clean up their per-object information and managed // objects, but only The Instance cleans up the static preallocated objects. int -ACE_OS_Object_Manager::fini (void) +ACE_OS_Object_Manager::fini () { if (instance_ == 0 || shutting_down_i ()) // Too late. Or, maybe too early. Either fini () has already @@ -480,7 +480,7 @@ ACE_OS_Object_Manager::print_error_message (unsigned int line_number, } int -ACE_OS_Object_Manager::starting_up (void) +ACE_OS_Object_Manager::starting_up () { return ACE_OS_Object_Manager::instance_ ? instance_->starting_up_i () @@ -488,7 +488,7 @@ ACE_OS_Object_Manager::starting_up (void) } int -ACE_OS_Object_Manager::shutting_down (void) +ACE_OS_Object_Manager::shutting_down () { return ACE_OS_Object_Manager::instance_ ? instance_->shutting_down_i () @@ -512,17 +512,17 @@ class ACE_OS_Object_Manager_Manager { public: /// Constructor. - ACE_OS_Object_Manager_Manager (void); + ACE_OS_Object_Manager_Manager (); /// Destructor. - ~ACE_OS_Object_Manager_Manager (void); + ~ACE_OS_Object_Manager_Manager (); private: /// Save the main thread ID, so that destruction can be suppressed. ACE_thread_t saved_main_thread_id_; }; -ACE_OS_Object_Manager_Manager::ACE_OS_Object_Manager_Manager (void) +ACE_OS_Object_Manager_Manager::ACE_OS_Object_Manager_Manager () : saved_main_thread_id_ (ACE_OS::thr_self ()) { // Ensure that the Object_Manager gets initialized before any @@ -532,7 +532,7 @@ ACE_OS_Object_Manager_Manager::ACE_OS_Object_Manager_Manager (void) (void) ACE_OS_Object_Manager::instance (); } -ACE_OS_Object_Manager_Manager::~ACE_OS_Object_Manager_Manager (void) +ACE_OS_Object_Manager_Manager::~ACE_OS_Object_Manager_Manager () { if (ACE_OS::thr_equal (ACE_OS::thr_self (), saved_main_thread_id_)) diff --git a/ACE/ace/PI_Malloc.cpp b/ACE/ace/PI_Malloc.cpp index b1e94335e9a..10373d36131 100644 --- a/ACE/ace/PI_Malloc.cpp +++ b/ACE/ace/PI_Malloc.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_PI_Control_Block::ACE_Malloc_Header::dump (void) const +ACE_PI_Control_Block::ACE_Malloc_Header::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_PI_Control_Block::ACE_Malloc_Header::dump"); @@ -29,7 +29,7 @@ ACE_PI_Control_Block::ACE_Malloc_Header::dump (void) const } void -ACE_PI_Control_Block::print_alignment_info (void) +ACE_PI_Control_Block::print_alignment_info () { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_PI_Control_Block::ACE_Control_Block::print_alignment_info"); @@ -65,7 +65,7 @@ ACE_PI_Control_Block::print_alignment_info (void) } void -ACE_PI_Control_Block::dump (void) const +ACE_PI_Control_Block::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_PI_Control_Block::dump"); @@ -91,7 +91,7 @@ ACE_PI_Control_Block::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node (void) +ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node () { ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node"); } @@ -119,7 +119,7 @@ ACE_PI_Control_Block::ACE_Name_Node::ACE_Name_Node (const ACE_Name_Node &) } const char * -ACE_PI_Control_Block::ACE_Name_Node::name (void) const +ACE_PI_Control_Block::ACE_Name_Node::name () const { return this->name_; } @@ -130,14 +130,14 @@ ACE_PI_Control_Block::ACE_Name_Node::name (const char *) ACE_ASSERT (0); // not implemented yet. } -ACE_PI_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header (void) +ACE_PI_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header () : next_block_ (0), size_ (0) { } void -ACE_PI_Control_Block::ACE_Name_Node::dump (void) const +ACE_PI_Control_Block::ACE_Name_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_PI_Control_Block::ACE_Name_Node::dump"); diff --git a/ACE/ace/POSIX_Asynch_IO.cpp b/ACE/ace/POSIX_Asynch_IO.cpp index c66c2c19083..0631292ce78 100644 --- a/ACE/ace/POSIX_Asynch_IO.cpp +++ b/ACE/ace/POSIX_Asynch_IO.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL size_t -ACE_POSIX_Asynch_Result::bytes_transferred (void) const +ACE_POSIX_Asynch_Result::bytes_transferred () const { return this->bytes_transferred_; } @@ -27,25 +27,25 @@ ACE_POSIX_Asynch_Result::set_bytes_transferred (size_t nbytes) } const void * -ACE_POSIX_Asynch_Result::act (void) const +ACE_POSIX_Asynch_Result::act () const { return this->act_; } int -ACE_POSIX_Asynch_Result::success (void) const +ACE_POSIX_Asynch_Result::success () const { return this->success_; } const void * -ACE_POSIX_Asynch_Result::completion_key (void) const +ACE_POSIX_Asynch_Result::completion_key () const { return this->completion_key_; } u_long -ACE_POSIX_Asynch_Result::error (void) const +ACE_POSIX_Asynch_Result::error () const { return this->error_; } @@ -56,19 +56,19 @@ ACE_POSIX_Asynch_Result::set_error (u_long errcode) this->error_=errcode; } ACE_HANDLE -ACE_POSIX_Asynch_Result::event (void) const +ACE_POSIX_Asynch_Result::event () const { return ACE_INVALID_HANDLE; } u_long -ACE_POSIX_Asynch_Result::offset (void) const +ACE_POSIX_Asynch_Result::offset () const { return this->aio_offset; } u_long -ACE_POSIX_Asynch_Result::offset_high (void) const +ACE_POSIX_Asynch_Result::offset_high () const { // // @@ Support aiocb64?? @@ -77,13 +77,13 @@ ACE_POSIX_Asynch_Result::offset_high (void) const } int -ACE_POSIX_Asynch_Result::priority (void) const +ACE_POSIX_Asynch_Result::priority () const { return this->aio_reqprio; } int -ACE_POSIX_Asynch_Result::signal_number (void) const +ACE_POSIX_Asynch_Result::signal_number () const { return this->aio_sigevent.sigev_signo; } @@ -101,7 +101,7 @@ ACE_POSIX_Asynch_Result::post_completion (ACE_Proactor_Impl *proactor_impl) return posix_proactor->post_completion (this); } -ACE_POSIX_Asynch_Result::~ACE_POSIX_Asynch_Result (void) +ACE_POSIX_Asynch_Result::~ACE_POSIX_Asynch_Result () { } @@ -175,7 +175,7 @@ ACE_POSIX_Asynch_Operation::open (const ACE_Handler::Proxy_Ptr &handler_proxy, } int -ACE_POSIX_Asynch_Operation::cancel (void) +ACE_POSIX_Asynch_Operation::cancel () { if (!posix_proactor_) return -1; @@ -183,18 +183,18 @@ ACE_POSIX_Asynch_Operation::cancel (void) } ACE_Proactor * -ACE_POSIX_Asynch_Operation::proactor (void) const +ACE_POSIX_Asynch_Operation::proactor () const { return this->proactor_; } ACE_POSIX_Proactor * -ACE_POSIX_Asynch_Operation::posix_proactor (void) const +ACE_POSIX_Asynch_Operation::posix_proactor () const { return this->posix_proactor_; } -ACE_POSIX_Asynch_Operation::~ACE_POSIX_Asynch_Operation (void) +ACE_POSIX_Asynch_Operation::~ACE_POSIX_Asynch_Operation () { } @@ -207,19 +207,19 @@ ACE_POSIX_Asynch_Operation::ACE_POSIX_Asynch_Operation (ACE_POSIX_Proactor *posi // ********************************************************************* size_t -ACE_POSIX_Asynch_Read_Stream_Result::bytes_to_read (void) const +ACE_POSIX_Asynch_Read_Stream_Result::bytes_to_read () const { return this->aio_nbytes; } ACE_Message_Block & -ACE_POSIX_Asynch_Read_Stream_Result::message_block (void) const +ACE_POSIX_Asynch_Read_Stream_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_POSIX_Asynch_Read_Stream_Result::handle (void) const +ACE_POSIX_Asynch_Read_Stream_Result::handle () const { return this->aio_fildes; } @@ -268,7 +268,7 @@ ACE_POSIX_Asynch_Read_Stream_Result::complete (size_t bytes_transferred, handler->handle_read_stream (result); } -ACE_POSIX_Asynch_Read_Stream_Result::~ACE_POSIX_Asynch_Read_Stream_Result (void) +ACE_POSIX_Asynch_Read_Stream_Result::~ACE_POSIX_Asynch_Read_Stream_Result () { } @@ -317,26 +317,26 @@ ACE_POSIX_Asynch_Read_Stream::read (ACE_Message_Block &message_block, return return_val; } -ACE_POSIX_Asynch_Read_Stream::~ACE_POSIX_Asynch_Read_Stream (void) +ACE_POSIX_Asynch_Read_Stream::~ACE_POSIX_Asynch_Read_Stream () { } // ********************************************************************* size_t -ACE_POSIX_Asynch_Write_Stream_Result::bytes_to_write (void) const +ACE_POSIX_Asynch_Write_Stream_Result::bytes_to_write () const { return this->aio_nbytes; } ACE_Message_Block & -ACE_POSIX_Asynch_Write_Stream_Result::message_block (void) const +ACE_POSIX_Asynch_Write_Stream_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_POSIX_Asynch_Write_Stream_Result::handle (void) const +ACE_POSIX_Asynch_Write_Stream_Result::handle () const { return this->aio_fildes; } @@ -386,7 +386,7 @@ ACE_POSIX_Asynch_Write_Stream_Result::complete (size_t bytes_transferred, handler->handle_write_stream (result); } -ACE_POSIX_Asynch_Write_Stream_Result::~ACE_POSIX_Asynch_Write_Stream_Result (void) +ACE_POSIX_Asynch_Write_Stream_Result::~ACE_POSIX_Asynch_Write_Stream_Result () { } @@ -435,7 +435,7 @@ ACE_POSIX_Asynch_Write_Stream::write (ACE_Message_Block &message_block, return return_val; } -ACE_POSIX_Asynch_Write_Stream::~ACE_POSIX_Asynch_Write_Stream (void) +ACE_POSIX_Asynch_Write_Stream::~ACE_POSIX_Asynch_Write_Stream () { } @@ -495,7 +495,7 @@ ACE_POSIX_Asynch_Read_File_Result::complete (size_t bytes_transferred, handler->handle_read_file (result); } -ACE_POSIX_Asynch_Read_File_Result::~ACE_POSIX_Asynch_Read_File_Result (void) +ACE_POSIX_Asynch_Read_File_Result::~ACE_POSIX_Asynch_Read_File_Result () { } @@ -548,7 +548,7 @@ ACE_POSIX_Asynch_Read_File::read (ACE_Message_Block &message_block, return return_val; } -ACE_POSIX_Asynch_Read_File::~ACE_POSIX_Asynch_Read_File (void) +ACE_POSIX_Asynch_Read_File::~ACE_POSIX_Asynch_Read_File () { } @@ -622,7 +622,7 @@ ACE_POSIX_Asynch_Write_File_Result::complete (size_t bytes_transferred, handler->handle_write_file (result); } -ACE_POSIX_Asynch_Write_File_Result::~ACE_POSIX_Asynch_Write_File_Result (void) +ACE_POSIX_Asynch_Write_File_Result::~ACE_POSIX_Asynch_Write_File_Result () { } @@ -675,7 +675,7 @@ ACE_POSIX_Asynch_Write_File::write (ACE_Message_Block &message_block, return return_val; } -ACE_POSIX_Asynch_Write_File::~ACE_POSIX_Asynch_Write_File (void) +ACE_POSIX_Asynch_Write_File::~ACE_POSIX_Asynch_Write_File () { } @@ -697,25 +697,25 @@ ACE_POSIX_Asynch_Write_File::write (ACE_Message_Block &message_block, size_t -ACE_POSIX_Asynch_Accept_Result::bytes_to_read (void) const +ACE_POSIX_Asynch_Accept_Result::bytes_to_read () const { return this->aio_nbytes; } ACE_Message_Block & -ACE_POSIX_Asynch_Accept_Result::message_block (void) const +ACE_POSIX_Asynch_Accept_Result::message_block () const { return this->message_block_; } ACE_HANDLE -ACE_POSIX_Asynch_Accept_Result::listen_handle (void) const +ACE_POSIX_Asynch_Accept_Result::listen_handle () const { return this->listen_handle_; } ACE_HANDLE -ACE_POSIX_Asynch_Accept_Result::accept_handle (void) const +ACE_POSIX_Asynch_Accept_Result::accept_handle () const { return this->aio_fildes; } @@ -764,7 +764,7 @@ ACE_POSIX_Asynch_Accept_Result::complete (size_t bytes_transferred, handler->handle_accept (result); } -ACE_POSIX_Asynch_Accept_Result::~ACE_POSIX_Asynch_Accept_Result (void) +ACE_POSIX_Asynch_Accept_Result::~ACE_POSIX_Asynch_Accept_Result () { } @@ -776,14 +776,14 @@ ACE_POSIX_Asynch_Accept::ACE_POSIX_Asynch_Accept (ACE_POSIX_Proactor * posix_pro { } -ACE_POSIX_Asynch_Accept::~ACE_POSIX_Asynch_Accept (void) +ACE_POSIX_Asynch_Accept::~ACE_POSIX_Asynch_Accept () { this->close (); this->reactor (0); // to avoid purge_pending_notifications } ACE_HANDLE -ACE_POSIX_Asynch_Accept::get_handle (void) const +ACE_POSIX_Asynch_Accept::get_handle () const { return this->handle_; } @@ -959,7 +959,7 @@ ACE_POSIX_Asynch_Accept::cancel_uncompleted (int flg_notify) } int -ACE_POSIX_Asynch_Accept::cancel (void) +ACE_POSIX_Asynch_Accept::cancel () { ACE_TRACE ("ACE_POSIX_Asynch_Accept::cancel"); @@ -1130,7 +1130,7 @@ ACE_POSIX_Asynch_Accept::handle_input (ACE_HANDLE /* fd */) // ********************************************************************* ACE_HANDLE -ACE_POSIX_Asynch_Connect_Result::connect_handle (void) const +ACE_POSIX_Asynch_Connect_Result::connect_handle () const { return this->aio_fildes; } @@ -1176,7 +1176,7 @@ ACE_POSIX_Asynch_Connect_Result::complete (size_t bytes_transferred, handler->handle_connect (result); } -ACE_POSIX_Asynch_Connect_Result::~ACE_POSIX_Asynch_Connect_Result (void) +ACE_POSIX_Asynch_Connect_Result::~ACE_POSIX_Asynch_Connect_Result () { } @@ -1188,14 +1188,14 @@ ACE_POSIX_Asynch_Connect::ACE_POSIX_Asynch_Connect (ACE_POSIX_Proactor * posix_p { } -ACE_POSIX_Asynch_Connect::~ACE_POSIX_Asynch_Connect (void) +ACE_POSIX_Asynch_Connect::~ACE_POSIX_Asynch_Connect () { this->close (); this->reactor(0); // to avoid purge_pending_notifications } ACE_HANDLE -ACE_POSIX_Asynch_Connect::get_handle (void) const +ACE_POSIX_Asynch_Connect::get_handle () const { ACE_ASSERT (0); return ACE_INVALID_HANDLE; @@ -1489,7 +1489,7 @@ ACE_POSIX_Asynch_Connect::cancel_uncompleted (bool flg_notify, } int -ACE_POSIX_Asynch_Connect::cancel (void) +ACE_POSIX_Asynch_Connect::cancel () { ACE_TRACE ("ACE_POSIX_Asynch_Connect::cancel"); @@ -1521,7 +1521,7 @@ ACE_POSIX_Asynch_Connect::cancel (void) } int -ACE_POSIX_Asynch_Connect::close (void) +ACE_POSIX_Asynch_Connect::close () { ACE_TRACE ("ACE_POSIX_Asynch_Connect::close"); @@ -1611,37 +1611,37 @@ ACE_POSIX_Asynch_Connect::handle_close (ACE_HANDLE fd, ACE_Reactor_Mask) // ********************************************************************* ACE_HANDLE -ACE_POSIX_Asynch_Transmit_File_Result::socket (void) const +ACE_POSIX_Asynch_Transmit_File_Result::socket () const { return this->socket_; } ACE_HANDLE -ACE_POSIX_Asynch_Transmit_File_Result::file (void) const +ACE_POSIX_Asynch_Transmit_File_Result::file () const { return this->aio_fildes; } ACE_Asynch_Transmit_File::Header_And_Trailer * -ACE_POSIX_Asynch_Transmit_File_Result::header_and_trailer (void) const +ACE_POSIX_Asynch_Transmit_File_Result::header_and_trailer () const { return this->header_and_trailer_; } size_t -ACE_POSIX_Asynch_Transmit_File_Result::bytes_to_write (void) const +ACE_POSIX_Asynch_Transmit_File_Result::bytes_to_write () const { return this->aio_nbytes; } size_t -ACE_POSIX_Asynch_Transmit_File_Result::bytes_per_send (void) const +ACE_POSIX_Asynch_Transmit_File_Result::bytes_per_send () const { return this->bytes_per_send_; } u_long -ACE_POSIX_Asynch_Transmit_File_Result::flags (void) const +ACE_POSIX_Asynch_Transmit_File_Result::flags () const { return this->flags_; } @@ -1708,7 +1708,7 @@ ACE_POSIX_Asynch_Transmit_File_Result::complete (size_t bytes_transferred, handler->handle_transmit_file (result); } -ACE_POSIX_Asynch_Transmit_File_Result::~ACE_POSIX_Asynch_Transmit_File_Result (void) +ACE_POSIX_Asynch_Transmit_File_Result::~ACE_POSIX_Asynch_Transmit_File_Result () { } @@ -1734,11 +1734,11 @@ public: ACE_POSIX_Asynch_Transmit_File_Result *result); /// Destructor. - ~ACE_POSIX_Asynch_Transmit_Handler (void) override; + ~ACE_POSIX_Asynch_Transmit_Handler () override; /// Do the transmission. All the info to do the transmission is in /// the <result> member. - int transmit (void); + int transmit (); protected: @@ -1781,7 +1781,7 @@ protected: void handle_read_file (const ACE_Asynch_Read_File::Result &result) override; /// Issue asynch read from the file. - int initiate_read_file (void); + int initiate_read_file (); /// To read from the file to be transmitted. ACE_POSIX_Asynch_Read_File rf_; @@ -1816,7 +1816,7 @@ ACE_POSIX_Asynch_Transmit_Handler::ACE_POSIX_Asynch_Transmit_Handler } // Destructor. -ACE_POSIX_Asynch_Transmit_Handler::~ACE_POSIX_Asynch_Transmit_Handler (void) +ACE_POSIX_Asynch_Transmit_Handler::~ACE_POSIX_Asynch_Transmit_Handler () { delete result_; mb_->release (); @@ -1827,7 +1827,7 @@ ACE_POSIX_Asynch_Transmit_Handler::~ACE_POSIX_Asynch_Transmit_Handler (void) // Initiate transmitting the header. When that completes // handle_write_stream will be called, there start transmitting the file. int -ACE_POSIX_Asynch_Transmit_Handler::transmit (void) +ACE_POSIX_Asynch_Transmit_Handler::transmit () { // No proactor is given for the <open>'s. Because we are using the // concrete implementations of the Asynch_Operations, and we have @@ -2005,7 +2005,7 @@ ACE_POSIX_Asynch_Transmit_Handler::handle_read_file (const ACE_Asynch_Read_File: } int -ACE_POSIX_Asynch_Transmit_Handler::initiate_read_file (void) +ACE_POSIX_Asynch_Transmit_Handler::initiate_read_file () { // Is there something to read. if (this->file_offset_ >= this->file_size_) @@ -2123,13 +2123,13 @@ ACE_POSIX_Asynch_Transmit_File::transmit_file (ACE_HANDLE file, return 0; } -ACE_POSIX_Asynch_Transmit_File::~ACE_POSIX_Asynch_Transmit_File (void) +ACE_POSIX_Asynch_Transmit_File::~ACE_POSIX_Asynch_Transmit_File () { } // ********************************************************************* size_t -ACE_POSIX_Asynch_Read_Dgram_Result::bytes_to_read (void) const +ACE_POSIX_Asynch_Read_Dgram_Result::bytes_to_read () const { return this->bytes_to_read_; } @@ -2158,13 +2158,13 @@ ACE_POSIX_Asynch_Read_Dgram_Result::saddr () const int -ACE_POSIX_Asynch_Read_Dgram_Result::flags (void) const +ACE_POSIX_Asynch_Read_Dgram_Result::flags () const { return this->flags_; } ACE_HANDLE -ACE_POSIX_Asynch_Read_Dgram_Result::handle (void) const +ACE_POSIX_Asynch_Read_Dgram_Result::handle () const { return this->handle_; } @@ -2231,26 +2231,26 @@ ACE_POSIX_Asynch_Read_Dgram_Result::complete (size_t bytes_transferred, handler->handle_read_dgram (result); } -ACE_POSIX_Asynch_Read_Dgram_Result::~ACE_POSIX_Asynch_Read_Dgram_Result (void) +ACE_POSIX_Asynch_Read_Dgram_Result::~ACE_POSIX_Asynch_Read_Dgram_Result () { delete this->remote_address_; } //*************************************************************************** size_t -ACE_POSIX_Asynch_Write_Dgram_Result::bytes_to_write (void) const +ACE_POSIX_Asynch_Write_Dgram_Result::bytes_to_write () const { return this->bytes_to_write_; } int -ACE_POSIX_Asynch_Write_Dgram_Result::flags (void) const +ACE_POSIX_Asynch_Write_Dgram_Result::flags () const { return this->flags_; } ACE_HANDLE -ACE_POSIX_Asynch_Write_Dgram_Result::handle (void) const +ACE_POSIX_Asynch_Write_Dgram_Result::handle () const { return this->handle_; } @@ -2312,12 +2312,12 @@ ACE_POSIX_Asynch_Write_Dgram_Result::complete (size_t bytes_transferred, handler->handle_write_dgram (result); } -ACE_POSIX_Asynch_Write_Dgram_Result::~ACE_POSIX_Asynch_Write_Dgram_Result (void) +ACE_POSIX_Asynch_Write_Dgram_Result::~ACE_POSIX_Asynch_Write_Dgram_Result () { } /***************************************************************************/ -ACE_POSIX_Asynch_Read_Dgram::~ACE_POSIX_Asynch_Read_Dgram (void) +ACE_POSIX_Asynch_Read_Dgram::~ACE_POSIX_Asynch_Read_Dgram () { } @@ -2361,7 +2361,7 @@ ACE_POSIX_Asynch_Read_Dgram::ACE_POSIX_Asynch_Read_Dgram (ACE_POSIX_Proactor *po //*************************************************************************** -ACE_POSIX_Asynch_Write_Dgram::~ACE_POSIX_Asynch_Write_Dgram (void) +ACE_POSIX_Asynch_Write_Dgram::~ACE_POSIX_Asynch_Write_Dgram () { } diff --git a/ACE/ace/POSIX_CB_Proactor.cpp b/ACE/ace/POSIX_CB_Proactor.cpp index 9be836cc814..77b2e406268 100644 --- a/ACE/ace/POSIX_CB_Proactor.cpp +++ b/ACE/ace/POSIX_CB_Proactor.cpp @@ -21,13 +21,13 @@ ACE_POSIX_CB_Proactor::ACE_POSIX_CB_Proactor (size_t max_aio_operations) } // Destructor. -ACE_POSIX_CB_Proactor::~ACE_POSIX_CB_Proactor (void) +ACE_POSIX_CB_Proactor::~ACE_POSIX_CB_Proactor () { this->close (); } ACE_POSIX_Proactor::Proactor_Type -ACE_POSIX_CB_Proactor::get_impl_type (void) +ACE_POSIX_CB_Proactor::get_impl_type () { return PROACTOR_CB; } @@ -56,7 +56,7 @@ ACE_POSIX_CB_Proactor::handle_events (ACE_Time_Value &wait_time) } int -ACE_POSIX_CB_Proactor::handle_events (void) +ACE_POSIX_CB_Proactor::handle_events () { return this->handle_events_i (ACE_INFINITE); } diff --git a/ACE/ace/POSIX_Proactor.cpp b/ACE/ace/POSIX_Proactor.cpp index 0056d43a2cd..225e4acc18e 100644 --- a/ACE/ace/POSIX_Proactor.cpp +++ b/ACE/ace/POSIX_Proactor.cpp @@ -45,7 +45,7 @@ public: int signal_number = ACE_SIGRTMIN); /// Destructor. - ~ACE_POSIX_Wakeup_Completion (void) override; + ~ACE_POSIX_Wakeup_Completion () override; /// This method calls the <handler>'s <handle_wakeup> method. @@ -56,7 +56,7 @@ public: }; // ********************************************************************* -ACE_POSIX_Proactor::ACE_POSIX_Proactor (void) +ACE_POSIX_Proactor::ACE_POSIX_Proactor () : os_id_ (ACE_OS_UNDEFINED) { #if defined(sun) @@ -91,13 +91,13 @@ ACE_POSIX_Proactor::ACE_POSIX_Proactor (void) #endif } -ACE_POSIX_Proactor::~ACE_POSIX_Proactor (void) +ACE_POSIX_Proactor::~ACE_POSIX_Proactor () { this->close (); } int -ACE_POSIX_Proactor::close (void) +ACE_POSIX_Proactor::close () { return 0; } @@ -112,7 +112,7 @@ ACE_POSIX_Proactor::register_handle (ACE_HANDLE handle, } int -ACE_POSIX_Proactor::wake_up_dispatch_threads (void) +ACE_POSIX_Proactor::wake_up_dispatch_threads () { return 0; } @@ -124,7 +124,7 @@ ACE_POSIX_Proactor::close_dispatch_threads (int) } size_t -ACE_POSIX_Proactor::number_of_threads (void) const +ACE_POSIX_Proactor::number_of_threads () const { // @@ Implement it. ACE_NOTSUP_RETURN (0); @@ -138,13 +138,13 @@ ACE_POSIX_Proactor::number_of_threads (size_t threads) } ACE_HANDLE -ACE_POSIX_Proactor::get_handle (void) const +ACE_POSIX_Proactor::get_handle () const { return ACE_INVALID_HANDLE; } ACE_Asynch_Read_Stream_Impl * -ACE_POSIX_Proactor::create_asynch_read_stream (void) +ACE_POSIX_Proactor::create_asynch_read_stream () { ACE_Asynch_Read_Stream_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -180,7 +180,7 @@ ACE_POSIX_Proactor::create_asynch_read_stream_result ACE_Asynch_Write_Stream_Impl * -ACE_POSIX_Proactor::create_asynch_write_stream (void) +ACE_POSIX_Proactor::create_asynch_write_stream () { ACE_Asynch_Write_Stream_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -216,7 +216,7 @@ ACE_POSIX_Proactor::create_asynch_write_stream_result ACE_Asynch_Read_File_Impl * -ACE_POSIX_Proactor::create_asynch_read_file (void) +ACE_POSIX_Proactor::create_asynch_read_file () { ACE_Asynch_Read_File_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -256,7 +256,7 @@ ACE_POSIX_Proactor::create_asynch_read_file_result ACE_Asynch_Write_File_Impl * -ACE_POSIX_Proactor::create_asynch_write_file (void) +ACE_POSIX_Proactor::create_asynch_write_file () { ACE_Asynch_Write_File_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -296,7 +296,7 @@ ACE_POSIX_Proactor::create_asynch_write_file_result ACE_Asynch_Read_Dgram_Impl * -ACE_POSIX_Proactor::create_asynch_read_dgram (void) +ACE_POSIX_Proactor::create_asynch_read_dgram () { ACE_Asynch_Read_Dgram_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -337,7 +337,7 @@ ACE_POSIX_Proactor::create_asynch_read_dgram_result ACE_Asynch_Write_Dgram_Impl * -ACE_POSIX_Proactor::create_asynch_write_dgram (void) +ACE_POSIX_Proactor::create_asynch_write_dgram () { ACE_Asynch_Write_Dgram_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -377,7 +377,7 @@ ACE_POSIX_Proactor::create_asynch_write_dgram_result ACE_Asynch_Accept_Impl * -ACE_POSIX_Proactor::create_asynch_accept (void) +ACE_POSIX_Proactor::create_asynch_accept () { ACE_Asynch_Accept_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -416,7 +416,7 @@ ACE_POSIX_Proactor::create_asynch_accept_result ACE_Asynch_Connect_Impl * -ACE_POSIX_Proactor::create_asynch_connect (void) +ACE_POSIX_Proactor::create_asynch_connect () { ACE_Asynch_Connect_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -449,7 +449,7 @@ ACE_POSIX_Proactor::create_asynch_connect_result ACE_Asynch_Transmit_File_Impl * -ACE_POSIX_Proactor::create_asynch_transmit_file (void) +ACE_POSIX_Proactor::create_asynch_transmit_file () { ACE_Asynch_Transmit_File_Impl *implementation = 0; ACE_NEW_RETURN (implementation, @@ -554,7 +554,7 @@ ACE_POSIX_Proactor::post_wakeup_completions (int how_many) } ACE_POSIX_Proactor::Proactor_Type -ACE_POSIX_Proactor::get_impl_type (void) +ACE_POSIX_Proactor::get_impl_type () { return PROACTOR_POSIX; } @@ -595,7 +595,7 @@ public: ACE_AIOCB_Notify_Pipe_Manager (ACE_POSIX_AIOCB_Proactor *posix_aiocb_proactor); /// Destructor. - ~ACE_AIOCB_Notify_Pipe_Manager (void) override; + ~ACE_AIOCB_Notify_Pipe_Manager () override; /// Send the result pointer through the notification pipe. int notify (); @@ -619,7 +619,7 @@ private: ACE_POSIX_Asynch_Read_Stream read_stream_; /// Default constructor. Shouldnt be called. - ACE_AIOCB_Notify_Pipe_Manager (void); + ACE_AIOCB_Notify_Pipe_Manager (); }; ACE_AIOCB_Notify_Pipe_Manager::ACE_AIOCB_Notify_Pipe_Manager (ACE_POSIX_AIOCB_Proactor *posix_aiocb_proactor) @@ -666,7 +666,7 @@ ACE_AIOCB_Notify_Pipe_Manager::ACE_AIOCB_Notify_Pipe_Manager (ACE_POSIX_AIOCB_Pr ACE_TEXT("Read from pipe failed"))); } -ACE_AIOCB_Notify_Pipe_Manager::~ACE_AIOCB_Notify_Pipe_Manager (void) +ACE_AIOCB_Notify_Pipe_Manager::~ACE_AIOCB_Notify_Pipe_Manager () { // 1. try to cancel pending aio this->read_stream_.cancel (); @@ -789,20 +789,20 @@ ACE_POSIX_AIOCB_Proactor::ACE_POSIX_AIOCB_Proactor (size_t max_aio_operations, } // Destructor. -ACE_POSIX_AIOCB_Proactor::~ACE_POSIX_AIOCB_Proactor (void) +ACE_POSIX_AIOCB_Proactor::~ACE_POSIX_AIOCB_Proactor () { this->close(); } ACE_POSIX_Proactor::Proactor_Type -ACE_POSIX_AIOCB_Proactor::get_impl_type (void) +ACE_POSIX_AIOCB_Proactor::get_impl_type () { return PROACTOR_AIOCB; } int -ACE_POSIX_AIOCB_Proactor::close (void) +ACE_POSIX_AIOCB_Proactor::close () { // stop asynch accept task this->get_asynch_pseudo_task().stop (); @@ -819,7 +819,7 @@ void ACE_POSIX_AIOCB_Proactor::set_notify_handle (ACE_HANDLE h) notify_pipe_read_handle_ = h; } -int ACE_POSIX_AIOCB_Proactor::create_result_aiocb_list (void) +int ACE_POSIX_AIOCB_Proactor::create_result_aiocb_list () { if (aiocb_list_ != 0) return 0; @@ -840,7 +840,7 @@ int ACE_POSIX_AIOCB_Proactor::create_result_aiocb_list (void) return 0; } -int ACE_POSIX_AIOCB_Proactor::delete_result_aiocb_list (void) +int ACE_POSIX_AIOCB_Proactor::delete_result_aiocb_list () { if (aiocb_list_ == 0) // already deleted return 0; @@ -977,7 +977,7 @@ void ACE_POSIX_AIOCB_Proactor::check_max_aio_num () } void -ACE_POSIX_AIOCB_Proactor::create_notify_manager (void) +ACE_POSIX_AIOCB_Proactor::create_notify_manager () { // Remember! this issues a Asynch_Read // on the notify pipe for doing the Asynch_Accept/Connect. @@ -988,7 +988,7 @@ ACE_POSIX_AIOCB_Proactor::create_notify_manager (void) } void -ACE_POSIX_AIOCB_Proactor::delete_notify_manager (void) +ACE_POSIX_AIOCB_Proactor::delete_notify_manager () { // We are responsible for delete as all pointers set to 0 after // delete, it is save to delete twice @@ -1005,7 +1005,7 @@ ACE_POSIX_AIOCB_Proactor::handle_events (ACE_Time_Value &wait_time) } int -ACE_POSIX_AIOCB_Proactor::handle_events (void) +ACE_POSIX_AIOCB_Proactor::handle_events () { return this->handle_events_i (ACE_INFINITE); } @@ -1050,7 +1050,7 @@ ACE_POSIX_AIOCB_Proactor::putq_result (ACE_POSIX_Asynch_Result *result) return 0; } -ACE_POSIX_Asynch_Result * ACE_POSIX_AIOCB_Proactor::getq_result (void) +ACE_POSIX_Asynch_Result * ACE_POSIX_AIOCB_Proactor::getq_result () { ACE_MT (ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mutex_, 0)); @@ -1070,7 +1070,7 @@ ACE_POSIX_Asynch_Result * ACE_POSIX_AIOCB_Proactor::getq_result (void) return result; } -int ACE_POSIX_AIOCB_Proactor::clear_result_queue (void) +int ACE_POSIX_AIOCB_Proactor::clear_result_queue () { int ret_val = 0; ACE_POSIX_Asynch_Result* result = 0; @@ -1084,7 +1084,7 @@ int ACE_POSIX_AIOCB_Proactor::clear_result_queue (void) return ret_val; } -int ACE_POSIX_AIOCB_Proactor::process_result_queue (void) +int ACE_POSIX_AIOCB_Proactor::process_result_queue () { int ret_val = 0; ACE_POSIX_Asynch_Result* result = 0; @@ -1632,7 +1632,7 @@ ACE_POSIX_SIG_Proactor::ACE_POSIX_SIG_Proactor (const sigset_t signal_set, return; } -ACE_POSIX_SIG_Proactor::~ACE_POSIX_SIG_Proactor (void) +ACE_POSIX_SIG_Proactor::~ACE_POSIX_SIG_Proactor () { this->close (); @@ -1640,7 +1640,7 @@ ACE_POSIX_SIG_Proactor::~ACE_POSIX_SIG_Proactor (void) } ACE_POSIX_Proactor::Proactor_Type -ACE_POSIX_SIG_Proactor::get_impl_type (void) +ACE_POSIX_SIG_Proactor::get_impl_type () { return PROACTOR_SIG; } @@ -1654,7 +1654,7 @@ ACE_POSIX_SIG_Proactor::handle_events (ACE_Time_Value &wait_time) } int -ACE_POSIX_SIG_Proactor::handle_events (void) +ACE_POSIX_SIG_Proactor::handle_events () { return this->handle_events_i (0); } @@ -1787,7 +1787,7 @@ ACE_POSIX_SIG_Proactor::setup_signal_handler (int signal_number) const int -ACE_POSIX_SIG_Proactor::block_signals (void) const +ACE_POSIX_SIG_Proactor::block_signals () const { return ACE_OS::pthread_sigmask (SIG_BLOCK, &this->RT_completion_signals_, 0); } @@ -1985,7 +1985,7 @@ ACE_POSIX_Wakeup_Completion::ACE_POSIX_Wakeup_Completion { } -ACE_POSIX_Wakeup_Completion::~ACE_POSIX_Wakeup_Completion (void) +ACE_POSIX_Wakeup_Completion::~ACE_POSIX_Wakeup_Completion () { } diff --git a/ACE/ace/Parse_Node.cpp b/ACE/ace/Parse_Node.cpp index 9427476454d..919635917d8 100644 --- a/ACE/ace/Parse_Node.cpp +++ b/ACE/ace/Parse_Node.cpp @@ -21,7 +21,7 @@ ACE_ALLOC_HOOK_DEFINE (ACE_Stream_Node) // Nodes. void -ACE_Stream_Node::dump (void) const +ACE_Stream_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Stream_Node::dump"); @@ -112,7 +112,7 @@ ACE_Stream_Node::apply (ACE_Service_Gestalt *config, int &yyerrno) ACE_ALLOC_HOOK_DEFINE (ACE_Parse_Node) void -ACE_Parse_Node::dump (void) const +ACE_Parse_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Parse_Node::dump"); @@ -120,14 +120,14 @@ ACE_Parse_Node::dump (void) const } const ACE_TCHAR * -ACE_Parse_Node::name (void) const +ACE_Parse_Node::name () const { ACE_TRACE ("ACE_Parse_Node::name"); return this->name_; } ACE_Parse_Node * -ACE_Parse_Node::link (void) const +ACE_Parse_Node::link () const { ACE_TRACE ("ACE_Parse_Node::link"); return this->next_; @@ -157,7 +157,7 @@ ACE_Stream_Node::ACE_Stream_Node (const ACE_Static_Node *str_ops, } -ACE_Stream_Node::~ACE_Stream_Node (void) +ACE_Stream_Node::~ACE_Stream_Node () { ACE_TRACE ("ACE_Stream_Node::~ACE_Stream_Node"); ACE_Static_Node *n = const_cast<ACE_Static_Node *> (this->node_); @@ -166,7 +166,7 @@ ACE_Stream_Node::~ACE_Stream_Node (void) delete m; } -ACE_Parse_Node::ACE_Parse_Node (void) +ACE_Parse_Node::ACE_Parse_Node () : name_ (0), next_ (0) { @@ -182,7 +182,7 @@ ACE_Parse_Node::ACE_Parse_Node (const ACE_TCHAR *nm) } void -ACE_Parse_Node::print (void) const +ACE_Parse_Node::print () const { ACE_TRACE ("ACE_Parse_Node::print"); @@ -195,7 +195,7 @@ ACE_Parse_Node::print (void) const } -ACE_Parse_Node::~ACE_Parse_Node (void) +ACE_Parse_Node::~ACE_Parse_Node () { ACE_TRACE ("ACE_Parse_Node::~ACE_Parse_Node"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -209,7 +209,7 @@ ACE_Parse_Node::~ACE_Parse_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Suspend_Node) void -ACE_Suspend_Node::dump (void) const +ACE_Suspend_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Suspend_Node::dump"); @@ -222,14 +222,14 @@ ACE_Suspend_Node::ACE_Suspend_Node (const ACE_TCHAR *name) ACE_TRACE ("ACE_Suspend_Node::ACE_Suspend_Node"); } -ACE_Suspend_Node::~ACE_Suspend_Node (void) +ACE_Suspend_Node::~ACE_Suspend_Node () { } ACE_ALLOC_HOOK_DEFINE (ACE_Resume_Node) void -ACE_Resume_Node::dump (void) const +ACE_Resume_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Resume_Node::dump"); @@ -242,7 +242,7 @@ ACE_Resume_Node::ACE_Resume_Node (const ACE_TCHAR *name) ACE_TRACE ("ACE_Resume_Node::ACE_Resume_Node"); } -ACE_Resume_Node::~ACE_Resume_Node (void) +ACE_Resume_Node::~ACE_Resume_Node () { } @@ -283,7 +283,7 @@ ACE_Resume_Node::apply (ACE_Service_Gestalt *config, int &yyerrno) ACE_ALLOC_HOOK_DEFINE (ACE_Remove_Node) void -ACE_Remove_Node::dump (void) const +ACE_Remove_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remove_Node::dump"); @@ -296,7 +296,7 @@ ACE_Remove_Node::ACE_Remove_Node (const ACE_TCHAR *name) ACE_TRACE ("ACE_Remove_Node::ACE_Remove_Node"); } -ACE_Remove_Node::~ACE_Remove_Node (void) +ACE_Remove_Node::~ACE_Remove_Node () { } @@ -349,14 +349,14 @@ ACE_Dynamic_Node::apply (ACE_Service_Gestalt *config, int &yyerrno) ACE_ALLOC_HOOK_DEFINE (ACE_Dynamic_Node) void -ACE_Dynamic_Node::dump (void) const +ACE_Dynamic_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dynamic_Node::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_Dynamic_Node::~ACE_Dynamic_Node (void) +ACE_Dynamic_Node::~ACE_Dynamic_Node () { ACE_TRACE ("ACE_Dynamic_Node::~ACE_Dynamic_Node"); } @@ -364,7 +364,7 @@ ACE_Dynamic_Node::~ACE_Dynamic_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Static_Node) void -ACE_Static_Node::dump (void) const +ACE_Static_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Static_Node::dump"); @@ -392,7 +392,7 @@ ACE_Static_Node::record (const ACE_Service_Gestalt *config) const } ACE_TCHAR * -ACE_Static_Node::parameters (void) const +ACE_Static_Node::parameters () const { ACE_TRACE ("ACE_Static_Node::parameters"); return this->parameters_; @@ -416,7 +416,7 @@ ACE_Static_Node::apply (ACE_Service_Gestalt *config, int &yyerrno) #endif /* ACE_NLOGGING */ } -ACE_Static_Node::~ACE_Static_Node (void) +ACE_Static_Node::~ACE_Static_Node () { ACE_TRACE ("ACE_Static_Node::~ACE_Static_Node"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -430,14 +430,14 @@ ACE_Static_Node::~ACE_Static_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Location_Node) void -ACE_Location_Node::dump (void) const +ACE_Location_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Location_Node::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_Location_Node::ACE_Location_Node (void) +ACE_Location_Node::ACE_Location_Node () : pathname_ (0), must_delete_ (0), dll_ (), @@ -446,19 +446,19 @@ ACE_Location_Node::ACE_Location_Node (void) ACE_TRACE ("ACE_Location_Node::ACE_Location_Node"); } -ACE_Location_Node::~ACE_Location_Node (void) +ACE_Location_Node::~ACE_Location_Node () { ACE_TRACE ("ACE_Location_Node::~ACE_Location_Node"); } const ACE_DLL & -ACE_Location_Node::dll (void) +ACE_Location_Node::dll () { return this->dll_; } const ACE_TCHAR * -ACE_Location_Node::pathname (void) const +ACE_Location_Node::pathname () const { ACE_TRACE ("ACE_Location_Node::pathname"); return this->pathname_; @@ -472,7 +472,7 @@ ACE_Location_Node::pathname (const ACE_TCHAR *p) } int -ACE_Location_Node::dispose (void) const +ACE_Location_Node::dispose () const { ACE_TRACE ("ACE_Location_Node::dispose"); return this->must_delete_; @@ -522,7 +522,7 @@ ACE_Location_Node::set_symbol (void *s) ACE_ALLOC_HOOK_DEFINE (ACE_Object_Node) void -ACE_Object_Node::dump (void) const +ACE_Object_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Object_Node::dump"); @@ -574,7 +574,7 @@ ACE_Object_Node::symbol (ACE_Service_Gestalt *, return 0; } -ACE_Object_Node::~ACE_Object_Node (void) +ACE_Object_Node::~ACE_Object_Node () { ACE_TRACE ("ACE_Object_Node::~ACE_Object_Node"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -587,7 +587,7 @@ ACE_Object_Node::~ACE_Object_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Function_Node) void -ACE_Function_Node::dump (void) const +ACE_Function_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Function_Node::dump"); @@ -727,7 +727,7 @@ ACE_Function_Node::symbol (ACE_Service_Gestalt *, return this->symbol_; } -ACE_Function_Node::~ACE_Function_Node (void) +ACE_Function_Node::~ACE_Function_Node () { ACE_TRACE ("ACE_Function_Node::~ACE_Function_Node"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -742,7 +742,7 @@ ACE_Function_Node::~ACE_Function_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Dummy_Node) void -ACE_Dummy_Node::dump (void) const +ACE_Dummy_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Dummy_Node::dump"); @@ -774,7 +774,7 @@ ACE_Dummy_Node::apply (ACE_Service_Gestalt *, int &yyerrno) #endif /* ACE_NLOGGING */ } -ACE_Dummy_Node::~ACE_Dummy_Node (void) +ACE_Dummy_Node::~ACE_Dummy_Node () { ACE_TRACE ("ACE_Dummy_Node::~ACE_Dummy_Node"); ACE_Static_Node *n = const_cast<ACE_Static_Node *> (this->node_); @@ -786,7 +786,7 @@ ACE_Dummy_Node::~ACE_Dummy_Node (void) ACE_ALLOC_HOOK_DEFINE (ACE_Static_Function_Node) void -ACE_Static_Function_Node::dump (void) const +ACE_Static_Function_Node::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Static_Function_Node::dump"); @@ -863,7 +863,7 @@ ACE_Static_Function_Node::symbol (ACE_Service_Gestalt *config, return this->symbol_; } -ACE_Static_Function_Node::~ACE_Static_Function_Node (void) +ACE_Static_Function_Node::~ACE_Static_Function_Node () { ACE_TRACE ("ACE_Static_Function_Node::~ACE_Static_Function_Node"); #if defined (ACE_HAS_ALLOC_HOOKS) @@ -887,7 +887,7 @@ ACE_Service_Type_Factory::ACE_Service_Type_Factory (ACE_TCHAR const *name, } -ACE_Service_Type_Factory::~ACE_Service_Type_Factory (void) +ACE_Service_Type_Factory::~ACE_Service_Type_Factory () { } @@ -940,7 +940,7 @@ ACE_Service_Type_Factory::make_service_type (ACE_Service_Gestalt *cfg) const } ACE_TCHAR const* -ACE_Service_Type_Factory::name (void) const +ACE_Service_Type_Factory::name () const { return name_.c_str (); } diff --git a/ACE/ace/Ping_Socket.cpp b/ACE/ace/Ping_Socket.cpp index 3779ca2526a..d806a30b1ee 100644 --- a/ACE/ace/Ping_Socket.cpp +++ b/ACE/ace/Ping_Socket.cpp @@ -87,12 +87,12 @@ ACE_Time_Value const ACE_Ping_Socket::time_default_ (0, 500000); void -ACE_Ping_Socket::dump (void) const +ACE_Ping_Socket::dump () const { ACE_TRACE ("ACE_Ping_Socket::dump"); } -ACE_Ping_Socket::ACE_Ping_Socket (void) +ACE_Ping_Socket::ACE_Ping_Socket () { ACE_TRACE ("ACE_Ping_Socket::ACE_Ping_Socket"); } @@ -126,7 +126,7 @@ ACE_Ping_Socket::ACE_Ping_Socket (ACE_Addr const & local, sizeof (size)); } -ACE_Ping_Socket::~ACE_Ping_Socket (void) +ACE_Ping_Socket::~ACE_Ping_Socket () { ACE_TRACE ("ACE_Ping_Socket::~ACE_Ping_Socket"); } diff --git a/ACE/ace/Pipe.cpp b/ACE/ace/Pipe.cpp index 7384dcc6332..0ae4f4cd13c 100644 --- a/ACE/ace/Pipe.cpp +++ b/ACE/ace/Pipe.cpp @@ -29,7 +29,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Pipe::dump (void) const +ACE_Pipe::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Pipe::dump"); @@ -264,7 +264,7 @@ ACE_Pipe::open (ACE_HANDLE handles[2]) // Do nothing... -ACE_Pipe::ACE_Pipe (void) +ACE_Pipe::ACE_Pipe () { ACE_TRACE ("ACE_Pipe::ACE_Pipe"); @@ -290,7 +290,7 @@ ACE_Pipe::ACE_Pipe (ACE_HANDLE read, } int -ACE_Pipe::close (void) +ACE_Pipe::close () { ACE_TRACE ("ACE_Pipe::close"); @@ -300,12 +300,12 @@ ACE_Pipe::close (void) } int -ACE_Pipe::close_read (void) +ACE_Pipe::close_read () { return this->close_handle (0); } -int ACE_Pipe::close_write (void) +int ACE_Pipe::close_write () { return this->close_handle (1); } diff --git a/ACE/ace/Priority_Reactor.cpp b/ACE/ace/Priority_Reactor.cpp index dab59c20819..e4418972540 100644 --- a/ACE/ace/Priority_Reactor.cpp +++ b/ACE/ace/Priority_Reactor.cpp @@ -20,7 +20,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Priority_Reactor) ACE_Event_Handler::HI_PRIORITY-ACE_Event_Handler::LO_PRIORITY+1 void -ACE_Priority_Reactor::init_bucket (void) +ACE_Priority_Reactor::init_bucket () { // Allocate enough space for all the handles. // TODO: This can be wrong, maybe we should use other kind of @@ -65,7 +65,7 @@ ACE_Priority_Reactor::ACE_Priority_Reactor (size_t size, this->init_bucket (); } -ACE_Priority_Reactor::~ACE_Priority_Reactor (void) +ACE_Priority_Reactor::~ACE_Priority_Reactor () { ACE_TRACE ("ACE_Priority_Reactor::~ACE_Priority_Reactor"); @@ -179,7 +179,7 @@ ACE_Priority_Reactor::dispatch_io_set (int number_of_active_handles, } void -ACE_Priority_Reactor::dump (void) const +ACE_Priority_Reactor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Priority_Reactor::dump"); diff --git a/ACE/ace/Proactor.cpp b/ACE/ace/Proactor.cpp index 4f58d7f3bf9..0c09737d542 100644 --- a/ACE/ace/Proactor.cpp +++ b/ACE/ace/Proactor.cpp @@ -61,23 +61,23 @@ public: explicit ACE_Proactor_Timer_Handler (ACE_Proactor &proactor); /// Destructor. - ~ACE_Proactor_Timer_Handler (void) override; + ~ACE_Proactor_Timer_Handler () override; /// Proactor calls this to shut down the timer handler /// gracefully. Just calling the destructor alone doesnt do what /// <destroy> does. <destroy> make sure the thread exits properly. - int destroy (void); + int destroy (); /// Proactor calls this to refresh the timer event thread, to wake /// up the thread from a sleep. This is needed to make the thread /// recompute its sleep time after changes to the timer queue. - int signal (void); + int signal (); protected: /// Run by a daemon thread to handle deferred processing. In other /// words, this method will do the waiting on the earliest timer and /// event. - int svc (void) override; + int svc () override; /// Event to wait on. ACE_Auto_Event timer_event_; @@ -96,13 +96,13 @@ ACE_Proactor_Timer_Handler::ACE_Proactor_Timer_Handler (ACE_Proactor &proactor) { } -ACE_Proactor_Timer_Handler::~ACE_Proactor_Timer_Handler (void) +ACE_Proactor_Timer_Handler::~ACE_Proactor_Timer_Handler () { this->destroy(); } int -ACE_Proactor_Timer_Handler::destroy (void) +ACE_Proactor_Timer_Handler::destroy () { // Mark for closing down. this->shutting_down_ = 1; @@ -116,13 +116,13 @@ ACE_Proactor_Timer_Handler::destroy (void) } int -ACE_Proactor_Timer_Handler::signal (void) +ACE_Proactor_Timer_Handler::signal () { return this->timer_event_.signal (); } int -ACE_Proactor_Timer_Handler::svc (void) +ACE_Proactor_Timer_Handler::svc () { ACE_Time_Value absolute_time; ACE_Time_Value relative_time; @@ -178,7 +178,7 @@ ACE_Proactor_Timer_Handler::svc (void) // ********************************************************************* -ACE_Proactor_Handle_Timeout_Upcall::ACE_Proactor_Handle_Timeout_Upcall (void) +ACE_Proactor_Handle_Timeout_Upcall::ACE_Proactor_Handle_Timeout_Upcall () : proactor_ (0) { } @@ -361,7 +361,7 @@ ACE_Proactor::ACE_Proactor (ACE_Proactor_Impl *implementation, ACE_TEXT ("Task::activate:could not create thread\n"))); } -ACE_Proactor::~ACE_Proactor (void) +ACE_Proactor::~ACE_Proactor () { this->close (); } @@ -409,7 +409,7 @@ ACE_Proactor::instance (ACE_Proactor * r, bool delete_proactor) } void -ACE_Proactor::close_singleton (void) +ACE_Proactor::close_singleton () { ACE_TRACE ("ACE_Proactor::close_singleton"); @@ -425,13 +425,13 @@ ACE_Proactor::close_singleton (void) } const ACE_TCHAR * -ACE_Proactor::dll_name (void) +ACE_Proactor::dll_name () { return ACE_TEXT ("ACE"); } const ACE_TCHAR * -ACE_Proactor::name (void) +ACE_Proactor::name () { return ACE_TEXT ("ACE_Proactor"); } @@ -559,7 +559,7 @@ ACE_Proactor::proactor_run_event_loop (ACE_Time_Value &tv, } int -ACE_Proactor::proactor_reset_event_loop(void) +ACE_Proactor::proactor_reset_event_loop() { ACE_TRACE ("ACE_Proactor::proactor_reset_event_loop"); @@ -571,7 +571,7 @@ ACE_Proactor::proactor_reset_event_loop(void) } int -ACE_Proactor::proactor_end_event_loop (void) +ACE_Proactor::proactor_end_event_loop () { ACE_TRACE ("ACE_Proactor::proactor_end_event_loop"); @@ -597,7 +597,7 @@ ACE_Proactor::proactor_end_event_loop (void) } int -ACE_Proactor::proactor_event_loop_done (void) +ACE_Proactor::proactor_event_loop_done () { ACE_TRACE ("ACE_Proactor::proactor_event_loop_done"); @@ -607,7 +607,7 @@ ACE_Proactor::proactor_event_loop_done (void) } int -ACE_Proactor::close (void) +ACE_Proactor::close () { // Close the implementation. if (this->implementation ()->close () == -1) @@ -727,13 +727,13 @@ ACE_Proactor::handle_events (ACE_Time_Value &wait_time) } int -ACE_Proactor::handle_events (void) +ACE_Proactor::handle_events () { return this->implementation ()->handle_events (); } int -ACE_Proactor::wake_up_dispatch_threads (void) +ACE_Proactor::wake_up_dispatch_threads () { return 0; } @@ -745,7 +745,7 @@ ACE_Proactor::close_dispatch_threads (int) } size_t -ACE_Proactor::number_of_threads (void) const +ACE_Proactor::number_of_threads () const { return this->implementation ()->number_of_threads (); } @@ -757,7 +757,7 @@ ACE_Proactor::number_of_threads (size_t threads) } ACE_Proactor_Timer_Queue * -ACE_Proactor::timer_queue (void) const +ACE_Proactor::timer_queue () const { return this->timer_queue_; } @@ -801,68 +801,68 @@ ACE_Proactor::timer_queue (ACE_Proactor_Timer_Queue *tq) } ACE_HANDLE -ACE_Proactor::get_handle (void) const +ACE_Proactor::get_handle () const { return this->implementation ()->get_handle (); } ACE_Proactor_Impl * -ACE_Proactor::implementation (void) const +ACE_Proactor::implementation () const { return this->implementation_; } ACE_Asynch_Read_Stream_Impl * -ACE_Proactor::create_asynch_read_stream (void) +ACE_Proactor::create_asynch_read_stream () { return this->implementation ()->create_asynch_read_stream (); } ACE_Asynch_Write_Stream_Impl * -ACE_Proactor::create_asynch_write_stream (void) +ACE_Proactor::create_asynch_write_stream () { return this->implementation ()->create_asynch_write_stream (); } ACE_Asynch_Read_Dgram_Impl * -ACE_Proactor::create_asynch_read_dgram (void) +ACE_Proactor::create_asynch_read_dgram () { return this->implementation ()->create_asynch_read_dgram (); } ACE_Asynch_Write_Dgram_Impl * -ACE_Proactor::create_asynch_write_dgram (void) +ACE_Proactor::create_asynch_write_dgram () { return this->implementation ()->create_asynch_write_dgram (); } ACE_Asynch_Read_File_Impl * -ACE_Proactor::create_asynch_read_file (void) +ACE_Proactor::create_asynch_read_file () { return this->implementation ()->create_asynch_read_file (); } ACE_Asynch_Write_File_Impl * -ACE_Proactor::create_asynch_write_file (void) +ACE_Proactor::create_asynch_write_file () { return this->implementation ()->create_asynch_write_file (); } ACE_Asynch_Accept_Impl * -ACE_Proactor::create_asynch_accept (void) +ACE_Proactor::create_asynch_accept () { return this->implementation ()->create_asynch_accept (); } ACE_Asynch_Connect_Impl * -ACE_Proactor::create_asynch_connect (void) +ACE_Proactor::create_asynch_connect () { return this->implementation ()->create_asynch_connect (); } ACE_Asynch_Transmit_File_Impl * -ACE_Proactor::create_asynch_transmit_file (void) +ACE_Proactor::create_asynch_transmit_file () { return this->implementation ()->create_asynch_transmit_file (); } diff --git a/ACE/ace/Proactor_Impl.cpp b/ACE/ace/Proactor_Impl.cpp index 9cf5f4795da..a1e2175bd7a 100644 --- a/ACE/ace/Proactor_Impl.cpp +++ b/ACE/ace/Proactor_Impl.cpp @@ -6,7 +6,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Proactor_Impl::~ACE_Proactor_Impl (void) +ACE_Proactor_Impl::~ACE_Proactor_Impl () { } diff --git a/ACE/ace/Process.cpp b/ACE/ace/Process.cpp index ed29ffd5c5a..1da8d0f8039 100644 --- a/ACE/ace/Process.cpp +++ b/ACE/ace/Process.cpp @@ -41,7 +41,7 @@ sigchld_nop (int, siginfo_t *, ucontext_t *) ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Process::ACE_Process (void) +ACE_Process::ACE_Process () : #if !defined (ACE_WIN32) child_id_ (ACE_INVALID_PID), @@ -55,7 +55,7 @@ ACE_Process::ACE_Process (void) #endif /* ACE_WIN32 */ } -ACE_Process::~ACE_Process (void) +ACE_Process::~ACE_Process () { #if defined (ACE_WIN32) // Free resources allocated in kernel. @@ -577,13 +577,13 @@ ACE_Process::child (pid_t) } void -ACE_Process::unmanage (void) +ACE_Process::unmanage () { // nothing to do } int -ACE_Process::running (void) const +ACE_Process::running () const { #if defined (ACE_WIN32) DWORD code; @@ -731,7 +731,7 @@ ACE_Process::wait (const ACE_Time_Value &tv, } void -ACE_Process::close_dup_handles (void) +ACE_Process::close_dup_handles () { if (this->dup_handles_.num_set () > 0) { @@ -746,7 +746,7 @@ ACE_Process::close_dup_handles (void) } void -ACE_Process::close_passed_handles (void) +ACE_Process::close_passed_handles () { if (this->handles_passed_.num_set () > 0) { @@ -971,7 +971,7 @@ ACE_Process_Options::inherit_environment (void) #else /* defined ACE_WIN32 */ ACE_TCHAR * const * -ACE_Process_Options::env_argv (void) +ACE_Process_Options::env_argv () { return environment_argv_; } @@ -1242,7 +1242,7 @@ ACE_Process_Options::release_handles () #endif /* !ACE_HAS_WINCE */ -ACE_Process_Options::~ACE_Process_Options (void) +ACE_Process_Options::~ACE_Process_Options () { #if !defined (ACE_HAS_WINCE) release_handles(); @@ -1371,7 +1371,7 @@ ACE_Process_Options::command_line (const ACE_ANTI_TCHAR *format, ...) #endif // ACE_LACKS_VA_FUNCTIONS ACE_TCHAR * -ACE_Process_Options::env_buf (void) +ACE_Process_Options::env_buf () { #if !defined (ACE_HAS_WINCE) if (environment_buf_[0] == '\0') @@ -1384,7 +1384,7 @@ ACE_Process_Options::env_buf (void) } ACE_TCHAR * const * -ACE_Process_Options::command_line_argv (void) +ACE_Process_Options::command_line_argv () { if (!command_line_argv_calculated_) { @@ -1453,14 +1453,14 @@ ACE_Process_Options::passed_handles (ACE_Handle_Set &set) const return 1; } -ACE_Managed_Process::~ACE_Managed_Process (void) +ACE_Managed_Process::~ACE_Managed_Process () { } ACE_ALLOC_HOOK_DEFINE(ACE_Managed_Process) void -ACE_Managed_Process::unmanage (void) +ACE_Managed_Process::unmanage () { delete this; } diff --git a/ACE/ace/Process_Manager.cpp b/ACE/ace/Process_Manager.cpp index 4db0f020eed..6990ba40eec 100644 --- a/ACE/ace/Process_Manager.cpp +++ b/ACE/ace/Process_Manager.cpp @@ -60,14 +60,14 @@ ACE_Process_Manager *ACE_Process_Manager::instance_ = 0; // (we can only delete it safely if we created it!) bool ACE_Process_Manager::delete_instance_ = false; -ACE_Process_Manager::Process_Descriptor::~Process_Descriptor (void) +ACE_Process_Manager::Process_Descriptor::~Process_Descriptor () { } ACE_ALLOC_HOOK_DEFINE(ACE_Process_Manager::Process_Descriptor) void -ACE_Process_Manager::Process_Descriptor::dump (void) const +ACE_Process_Manager::Process_Descriptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Process_Manager::Process_Descriptor::dump"); @@ -82,7 +82,7 @@ ACE_Process_Manager::Process_Descriptor::dump (void) const } void -ACE_Process_Manager::dump (void) const +ACE_Process_Manager::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Process_Manager::dump"); @@ -99,7 +99,7 @@ ACE_Process_Manager::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Process_Manager::Process_Descriptor::Process_Descriptor (void) +ACE_Process_Manager::Process_Descriptor::Process_Descriptor () : process_ (0), exit_notify_ (0) { @@ -107,7 +107,7 @@ ACE_Process_Manager::Process_Descriptor::Process_Descriptor (void) } ACE_Process_Manager * -ACE_Process_Manager::instance (void) +ACE_Process_Manager::instance () { ACE_TRACE ("ACE_Process_Manager::instance"); @@ -161,7 +161,7 @@ ACE_Process_Manager::instance (ACE_Process_Manager *tm) } void -ACE_Process_Manager::close_singleton( void ) +ACE_Process_Manager::close_singleton( ) { ACE_TRACE ("ACE_Process_Manager::close_singleton"); @@ -251,7 +251,7 @@ ACE_Process_Manager::ACE_Process_Manager (size_t size, // Close up and release all resources. int -ACE_Process_Manager::close (void) +ACE_Process_Manager::close () { ACE_TRACE ("ACE_Process_Manager::close"); @@ -283,7 +283,7 @@ ACE_Process_Manager::close (void) return 0; } -ACE_Process_Manager::~ACE_Process_Manager (void) +ACE_Process_Manager::~ACE_Process_Manager () { ACE_TRACE ("ACE_Process_Manager::~ACE_Process_Manager"); this->close (); diff --git a/ACE/ace/Process_Mutex.cpp b/ACE/ace/Process_Mutex.cpp index 3a137267990..3c0cd195b5a 100644 --- a/ACE/ace/Process_Mutex.cpp +++ b/ACE/ace/Process_Mutex.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Process_Mutex) void -ACE_Process_Mutex::dump (void) const +ACE_Process_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Process_Mutex::dump"); @@ -27,7 +27,7 @@ ACE_Process_Mutex::dump (void) const } const ACE_TCHAR * -ACE_Process_Mutex::unique_name (void) +ACE_Process_Mutex::unique_name () { // For all platforms other than Win32, we are going to create a // machine-wide unique name if one is not provided by the user. On @@ -92,7 +92,7 @@ ACE_Process_Mutex::ACE_Process_Mutex (const wchar_t *name, #endif /* _ACE_USE_SV_SEM */ } #endif /* ACE_HAS_WCHAR */ -ACE_Process_Mutex::~ACE_Process_Mutex (void) +ACE_Process_Mutex::~ACE_Process_Mutex () { } diff --git a/ACE/ace/Process_Semaphore.cpp b/ACE/ace/Process_Semaphore.cpp index bb3f94e4efc..9b40f67d0db 100644 --- a/ACE/ace/Process_Semaphore.cpp +++ b/ACE/ace/Process_Semaphore.cpp @@ -18,7 +18,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Process_Semaphore) void -ACE_Process_Semaphore::dump (void) const +ACE_Process_Semaphore::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Process_Semaphore::dump"); @@ -48,7 +48,7 @@ ACE_Process_Semaphore::ACE_Process_Semaphore (u_int count, // Explicitly destroy the semaphore. int -ACE_Process_Semaphore::remove (void) +ACE_Process_Semaphore::remove () { // ACE_TRACE ("ACE_Process_Semaphore::remove"); return this->lock_.remove (); @@ -58,7 +58,7 @@ ACE_Process_Semaphore::remove (void) // greater than 0, then decrement it. int -ACE_Process_Semaphore::acquire (void) +ACE_Process_Semaphore::acquire () { // ACE_TRACE ("ACE_Process_Semaphore::acquire"); #if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) @@ -72,7 +72,7 @@ ACE_Process_Semaphore::acquire (void) // than 0 (i.e., won't block). int -ACE_Process_Semaphore::tryacquire (void) +ACE_Process_Semaphore::tryacquire () { // ACE_TRACE ("ACE_Process_Semaphore::tryacquire"); #if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) @@ -86,7 +86,7 @@ ACE_Process_Semaphore::tryacquire (void) // a waiting thread. int -ACE_Process_Semaphore::release (void) +ACE_Process_Semaphore::release () { // ACE_TRACE ("ACE_Process_Semaphore::release"); #if defined (ACE_WIN32) || defined (ACE_HAS_POSIX_SEM) diff --git a/ACE/ace/Profile_Timer.cpp b/ACE/ace/Profile_Timer.cpp index 0e80384eaf6..0d807f96dad 100644 --- a/ACE/ace/Profile_Timer.cpp +++ b/ACE/ace/Profile_Timer.cpp @@ -27,7 +27,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Profile_Timer) void -ACE_Profile_Timer::dump (void) const +ACE_Profile_Timer::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Profile_Timer::dump"); @@ -36,7 +36,7 @@ ACE_Profile_Timer::dump (void) const // Initialize interval timer. -ACE_Profile_Timer::ACE_Profile_Timer (void) +ACE_Profile_Timer::ACE_Profile_Timer () { ACE_TRACE ("ACE_Profile_Timer::ACE_Profile_Timer"); ACE_OS::memset (&this->end_usage_, 0, sizeof this->end_usage_); @@ -61,7 +61,7 @@ ACE_Profile_Timer::ACE_Profile_Timer (void) } // Terminate the interval timer. -ACE_Profile_Timer::~ACE_Profile_Timer (void) +ACE_Profile_Timer::~ACE_Profile_Timer () { ACE_TRACE ("ACE_Profile_Timer::~ACE_Profile_Timer"); # if defined (ACE_HAS_PRUSAGE_T) diff --git a/ACE/ace/RW_Mutex.cpp b/ACE/ace/RW_Mutex.cpp index 3711ca5ce9a..9a4fbaef0c1 100644 --- a/ACE/ace/RW_Mutex.cpp +++ b/ACE/ace/RW_Mutex.cpp @@ -21,7 +21,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_RW_Mutex::dump (void) const +ACE_RW_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_RW_Mutex::dump"); @@ -42,7 +42,7 @@ ACE_RW_Mutex::ACE_RW_Mutex (int type, const ACE_TCHAR *name, void *arg) ACE_TEXT ("ACE_RW_Mutex::ACE_RW_Mutex"))); } -ACE_RW_Mutex::~ACE_RW_Mutex (void) +ACE_RW_Mutex::~ACE_RW_Mutex () { // ACE_TRACE ("ACE_RW_Mutex::~ACE_RW_Mutex"); this->remove (); diff --git a/ACE/ace/RW_Process_Mutex.cpp b/ACE/ace/RW_Process_Mutex.cpp index eda9c8a8199..19acafb8577 100644 --- a/ACE/ace/RW_Process_Mutex.cpp +++ b/ACE/ace/RW_Process_Mutex.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_RW_Process_Mutex) const ACE_TCHAR * -ACE_RW_Process_Mutex::unique_name (void) +ACE_RW_Process_Mutex::unique_name () { ACE::unique_name (this, this->name_, ACE_UNIQUE_NAME_LEN); return this->name_; @@ -33,13 +33,13 @@ ACE_RW_Process_Mutex::ACE_RW_Process_Mutex (const ACE_TCHAR *name, // ACE_TRACE ("ACE_RW_Process_Mutex::ACE_RW_Process_Mutex"); } -ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex (void) +ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex () { // ACE_TRACE ("ACE_RW_Process_Mutex::~ACE_RW_Process_Mutex"); } void -ACE_RW_Process_Mutex::dump (void) const +ACE_RW_Process_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_RW_Process_Mutex::dump"); diff --git a/ACE/ace/RW_Thread_Mutex.cpp b/ACE/ace/RW_Thread_Mutex.cpp index cffcc8d4e32..c77a75c30d7 100644 --- a/ACE/ace/RW_Thread_Mutex.cpp +++ b/ACE/ace/RW_Thread_Mutex.cpp @@ -34,7 +34,7 @@ ACE_RW_Thread_Mutex::ACE_RW_Thread_Mutex (const ACE_TCHAR *name, } void -ACE_RW_Thread_Mutex::dump (void) const +ACE_RW_Thread_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_RW_Thread_Mutex::dump"); diff --git a/ACE/ace/Reactor.cpp b/ACE/ace/Reactor.cpp index 2abd3bc1130..e08c9b9d141 100644 --- a/ACE/ace/Reactor.cpp +++ b/ACE/ace/Reactor.cpp @@ -80,7 +80,7 @@ ACE_Reactor::ACE_Reactor (ACE_Reactor_Impl *impl, } } -ACE_Reactor::~ACE_Reactor (void) +ACE_Reactor::~ACE_Reactor () { this->implementation ()->close (); if (this->delete_implementation_) @@ -95,7 +95,7 @@ ACE_Reactor *ACE_Reactor::reactor_ = 0; bool ACE_Reactor::delete_reactor_ = false; ACE_Reactor * -ACE_Reactor::instance (void) +ACE_Reactor::instance () { ACE_TRACE ("ACE_Reactor::instance"); @@ -139,7 +139,7 @@ ACE_Reactor::instance (ACE_Reactor *r, bool delete_reactor) } void -ACE_Reactor::close_singleton (void) +ACE_Reactor::close_singleton () { ACE_TRACE ("ACE_Reactor::close_singleton"); @@ -155,13 +155,13 @@ ACE_Reactor::close_singleton (void) } const ACE_TCHAR * -ACE_Reactor::dll_name (void) +ACE_Reactor::dll_name () { return ACE_TEXT ("ACE"); } const ACE_TCHAR * -ACE_Reactor::name (void) +ACE_Reactor::name () { return ACE_TEXT ("ACE_Reactor"); } diff --git a/ACE/ace/Reactor_Impl.cpp b/ACE/ace/Reactor_Impl.cpp index dd496854ad0..fcbeb4a5965 100644 --- a/ACE/ace/Reactor_Impl.cpp +++ b/ACE/ace/Reactor_Impl.cpp @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Reactor_Impl) -ACE_Reactor_Impl::~ACE_Reactor_Impl (void) +ACE_Reactor_Impl::~ACE_Reactor_Impl () { } diff --git a/ACE/ace/Reactor_Notification_Strategy.cpp b/ACE/ace/Reactor_Notification_Strategy.cpp index 534236bebb4..ec3c95f7e3b 100644 --- a/ACE/ace/Reactor_Notification_Strategy.cpp +++ b/ACE/ace/Reactor_Notification_Strategy.cpp @@ -16,12 +16,12 @@ ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy ( { } -ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy (void) +ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy () { } int -ACE_Reactor_Notification_Strategy::notify (void) +ACE_Reactor_Notification_Strategy::notify () { return this->reactor_->notify (this->eh_, this->mask_); } diff --git a/ACE/ace/Read_Buffer.cpp b/ACE/ace/Read_Buffer.cpp index 14ac5ded6ba..e3667a66b07 100644 --- a/ACE/ace/Read_Buffer.cpp +++ b/ACE/ace/Read_Buffer.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Read_Buffer::dump (void) const +ACE_Read_Buffer::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Read_Buffer::dump"); @@ -58,7 +58,7 @@ ACE_Read_Buffer::ACE_Read_Buffer (ACE_HANDLE handle, } #endif // ACE_HAS_WINCE -ACE_Read_Buffer::~ACE_Read_Buffer (void) +ACE_Read_Buffer::~ACE_Read_Buffer () { ACE_TRACE ("ACE_Read_Buffer::~ACE_Read_Buffer"); diff --git a/ACE/ace/Recursive_Thread_Mutex.cpp b/ACE/ace/Recursive_Thread_Mutex.cpp index 7d379ab20b5..9642f40f505 100644 --- a/ACE/ace/Recursive_Thread_Mutex.cpp +++ b/ACE/ace/Recursive_Thread_Mutex.cpp @@ -36,14 +36,14 @@ ACE_Recursive_Thread_Mutex::ACE_Recursive_Thread_Mutex (const ACE_TCHAR *name, ACE_TEXT ("recursive_mutex_init"))); } -ACE_Recursive_Thread_Mutex::~ACE_Recursive_Thread_Mutex (void) +ACE_Recursive_Thread_Mutex::~ACE_Recursive_Thread_Mutex () { // ACE_TRACE ("ACE_Recursive_Thread_Mutex::~ACE_Recursive_Thread_Mutex"); this->remove (); } int -ACE_Recursive_Thread_Mutex::remove (void) +ACE_Recursive_Thread_Mutex::remove () { // ACE_TRACE ("ACE_Recursive_Thread_Mutex::remove"); int result = 0; @@ -58,7 +58,7 @@ ACE_Recursive_Thread_Mutex::remove (void) // The counter part of the following two functions for Win32 are // located in file Synch.i ACE_thread_t -ACE_Recursive_Thread_Mutex::get_thread_id (void) +ACE_Recursive_Thread_Mutex::get_thread_id () { // ACE_TRACE ("ACE_Recursive_Thread_Mutex::get_thread_id"); #if defined (ACE_HAS_RECURSIVE_MUTEXES) @@ -78,7 +78,7 @@ ACE_Recursive_Thread_Mutex::get_thread_id (void) } int -ACE_Recursive_Thread_Mutex::get_nesting_level (void) +ACE_Recursive_Thread_Mutex::get_nesting_level () { // ACE_TRACE ("ACE_Recursive_Thread_Mutex::get_nesting_level"); #if defined (ACE_HAS_VXTHREADS) || defined (ACE_HAS_PHARLAP) || defined (ACE_HAS_WINCE) @@ -105,7 +105,7 @@ ACE_Recursive_Thread_Mutex::get_nesting_level (void) } void -ACE_Recursive_Thread_Mutex::dump (void) const +ACE_Recursive_Thread_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Recursive_Thread_Mutex::dump"); diff --git a/ACE/ace/Recyclable.cpp b/ACE/ace/Recyclable.cpp index d42aea8a4f4..0b975675059 100644 --- a/ACE/ace/Recyclable.cpp +++ b/ACE/ace/Recyclable.cpp @@ -14,7 +14,7 @@ ACE_Recyclable::ACE_Recyclable (ACE_Recyclable_State initial_state) { } -ACE_Recyclable::~ACE_Recyclable (void) +ACE_Recyclable::~ACE_Recyclable () { } diff --git a/ACE/ace/Remote_Name_Space.cpp b/ACE/ace/Remote_Name_Space.cpp index c40d190ef3d..a2af9bbf35b 100644 --- a/ACE/ace/Remote_Name_Space.cpp +++ b/ACE/ace/Remote_Name_Space.cpp @@ -23,7 +23,7 @@ ACE_Remote_Name_Space::open (const ACE_TCHAR *servername, u_short port) return 0; } -ACE_Remote_Name_Space::ACE_Remote_Name_Space (void) +ACE_Remote_Name_Space::ACE_Remote_Name_Space () { ACE_TRACE ("ACE_Remote_Name_Space::ACE_Remote_Name_Space"); } @@ -362,7 +362,7 @@ ACE_Remote_Name_Space::list_type_entries (ACE_BINDING_SET &set, return 0; } -ACE_Remote_Name_Space::~ACE_Remote_Name_Space (void) +ACE_Remote_Name_Space::~ACE_Remote_Name_Space () { ACE_TRACE ("ACE_Remote_Name_Space::~ACE_Remote_Name_Space"); } @@ -370,7 +370,7 @@ ACE_Remote_Name_Space::~ACE_Remote_Name_Space (void) ACE_ALLOC_HOOK_DEFINE(ACE_Remote_Name_Space) void -ACE_Remote_Name_Space::dump (void) const +ACE_Remote_Name_Space::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Remote_Name_Space::dump"); diff --git a/ACE/ace/SOCK.cpp b/ACE/ace/SOCK.cpp index 6127d625da5..6dae4f91b79 100644 --- a/ACE/ace/SOCK.cpp +++ b/ACE/ace/SOCK.cpp @@ -15,14 +15,14 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK) void -ACE_SOCK::dump (void) const +ACE_SOCK::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_SOCK::ACE_SOCK (void) +ACE_SOCK::ACE_SOCK () { // ACE_TRACE ("ACE_SOCK::ACE_SOCK"); } @@ -69,7 +69,7 @@ ACE_SOCK::get_local_addr (ACE_Addr &sa) const // Close down a ACE_SOCK. int -ACE_SOCK::close (void) +ACE_SOCK::close () { ACE_TRACE ("ACE_SOCK::close"); int result = 0; diff --git a/ACE/ace/SOCK_Acceptor.cpp b/ACE/ace/SOCK_Acceptor.cpp index 47057df08d3..af0fd98670d 100644 --- a/ACE/ace/SOCK_Acceptor.cpp +++ b/ACE/ace/SOCK_Acceptor.cpp @@ -25,7 +25,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Acceptor) // Do nothing routine for constructor. -ACE_SOCK_Acceptor::ACE_SOCK_Acceptor (void) +ACE_SOCK_Acceptor::ACE_SOCK_Acceptor () { ACE_TRACE ("ACE_SOCK_Acceptor::ACE_SOCK_Acceptor"); } @@ -211,7 +211,7 @@ ACE_SOCK_Acceptor::accept (ACE_SOCK_Stream &new_stream, #endif // ACE_HAS_WINCE void -ACE_SOCK_Acceptor::dump (void) const +ACE_SOCK_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Acceptor::dump"); @@ -425,7 +425,7 @@ ACE_SOCK_Acceptor::ACE_SOCK_Acceptor (const ACE_Addr &local_sap, } int -ACE_SOCK_Acceptor::close (void) +ACE_SOCK_Acceptor::close () { return ACE_SOCK::close (); } diff --git a/ACE/ace/SOCK_CODgram.cpp b/ACE/ace/SOCK_CODgram.cpp index 3921375ac2a..8cf14f0ebe2 100644 --- a/ACE/ace/SOCK_CODgram.cpp +++ b/ACE/ace/SOCK_CODgram.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_CODgram) void -ACE_SOCK_CODgram::dump (void) const +ACE_SOCK_CODgram::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_CODgram::dump"); diff --git a/ACE/ace/SOCK_Connector.cpp b/ACE/ace/SOCK_Connector.cpp index e84767064f9..cba9987fa0e 100644 --- a/ACE/ace/SOCK_Connector.cpp +++ b/ACE/ace/SOCK_Connector.cpp @@ -21,7 +21,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Connector) void -ACE_SOCK_Connector::dump (void) const +ACE_SOCK_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Connector::dump"); diff --git a/ACE/ace/SOCK_Dgram.cpp b/ACE/ace/SOCK_Dgram.cpp index c67fe8c58ba..4b06480ae2f 100644 --- a/ACE/ace/SOCK_Dgram.cpp +++ b/ACE/ace/SOCK_Dgram.cpp @@ -31,7 +31,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_SOCK_Dgram) void -ACE_SOCK_Dgram::dump (void) const +ACE_SOCK_Dgram::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Dgram::dump"); diff --git a/ACE/ace/SOCK_Dgram_Bcast.cpp b/ACE/ace/SOCK_Dgram_Bcast.cpp index f4cc86f7aba..1b4cedfa8ad 100644 --- a/ACE/ace/SOCK_Dgram_Bcast.cpp +++ b/ACE/ace/SOCK_Dgram_Bcast.cpp @@ -31,7 +31,7 @@ ACE_Bcast_Node::ACE_Bcast_Node (ACE_INET_Addr &addr, ACE_ALLOC_HOOK_DEFINE(ACE_Bcast_Node) void -ACE_SOCK_Dgram_Bcast::dump (void) const +ACE_SOCK_Dgram_Bcast::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Dgram_Bcast::dump"); @@ -41,7 +41,7 @@ ACE_SOCK_Dgram_Bcast::dump (void) const // Close up and release resources. int -ACE_SOCK_Dgram_Bcast::close (void) +ACE_SOCK_Dgram_Bcast::close () { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::close"); @@ -63,7 +63,7 @@ ACE_SOCK_Dgram_Bcast::close (void) // Here's the simple-minded constructor. -ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast (void) +ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast () : if_list_ (0) { ACE_TRACE ("ACE_SOCK_Dgram_Bcast::ACE_SOCK_Dgram_Bcast"); diff --git a/ACE/ace/SOCK_Dgram_Mcast.cpp b/ACE/ace/SOCK_Dgram_Mcast.cpp index cfaab1fcba2..ce1ce0ae20e 100644 --- a/ACE/ace/SOCK_Dgram_Mcast.cpp +++ b/ACE/ace/SOCK_Dgram_Mcast.cpp @@ -70,7 +70,7 @@ public: ACE_ALLOC_HOOK_DEFINE (ACE_SOCK_Dgram_Mcast) void -ACE_SOCK_Dgram_Mcast::dump (void) const +ACE_SOCK_Dgram_Mcast::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Dgram_Mcast::dump"); @@ -143,7 +143,7 @@ ACE_SOCK_Dgram_Mcast::ACE_SOCK_Dgram_Mcast } // Destructor. -ACE_SOCK_Dgram_Mcast::~ACE_SOCK_Dgram_Mcast (void) +ACE_SOCK_Dgram_Mcast::~ACE_SOCK_Dgram_Mcast () { ACE_TRACE ("ACE_SOCK_Dgram_Mcast::~ACE_SOCK_Dgram_Mcast"); @@ -915,7 +915,7 @@ ACE_SOCK_Dgram_Mcast::unsubscribe_i (const ACE_INET_Addr &mcast_addr, } int -ACE_SOCK_Dgram_Mcast::clear_subs_list (void) +ACE_SOCK_Dgram_Mcast::clear_subs_list () { ACE_TRACE ("ACE_SOCK_Dgram_Mcast::clear_subs_list"); int result = 0; diff --git a/ACE/ace/SOCK_IO.cpp b/ACE/ace/SOCK_IO.cpp index e2b68a64545..65c261aaac2 100644 --- a/ACE/ace/SOCK_IO.cpp +++ b/ACE/ace/SOCK_IO.cpp @@ -19,7 +19,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_IO) void -ACE_SOCK_IO::dump (void) const +ACE_SOCK_IO::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_IO::dump"); diff --git a/ACE/ace/SOCK_SEQPACK_Acceptor.cpp b/ACE/ace/SOCK_SEQPACK_Acceptor.cpp index fc1bc669b22..8efe8acfc9b 100644 --- a/ACE/ace/SOCK_SEQPACK_Acceptor.cpp +++ b/ACE/ace/SOCK_SEQPACK_Acceptor.cpp @@ -19,7 +19,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_SEQPACK_Acceptor) // Do nothing routine for constructor. -ACE_SOCK_SEQPACK_Acceptor::ACE_SOCK_SEQPACK_Acceptor (void) +ACE_SOCK_SEQPACK_Acceptor::ACE_SOCK_SEQPACK_Acceptor () { ACE_TRACE ("ACE_SOCK_SEQPACK_Acceptor::ACE_SOCK_SEQPACK_Acceptor"); } @@ -150,7 +150,7 @@ ACE_SOCK_SEQPACK_Acceptor::accept (ACE_SOCK_SEQPACK_Association &new_association } void -ACE_SOCK_SEQPACK_Acceptor::dump (void) const +ACE_SOCK_SEQPACK_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_SEQPACK_Acceptor::dump"); @@ -595,7 +595,7 @@ ACE_SOCK_SEQPACK_Acceptor::ACE_SOCK_SEQPACK_Acceptor (const ACE_Multihomed_INET_ } int -ACE_SOCK_SEQPACK_Acceptor::close (void) +ACE_SOCK_SEQPACK_Acceptor::close () { return ACE_SOCK::close (); } diff --git a/ACE/ace/SOCK_SEQPACK_Association.cpp b/ACE/ace/SOCK_SEQPACK_Association.cpp index e1921645f2a..ef250e4bca1 100644 --- a/ACE/ace/SOCK_SEQPACK_Association.cpp +++ b/ACE/ace/SOCK_SEQPACK_Association.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_SEQPACK_Association) void -ACE_SOCK_SEQPACK_Association::dump (void) const +ACE_SOCK_SEQPACK_Association::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_SEQPACK_Association::dump"); @@ -24,7 +24,7 @@ ACE_SOCK_SEQPACK_Association::dump (void) const } int -ACE_SOCK_SEQPACK_Association::close (void) +ACE_SOCK_SEQPACK_Association::close () { #if defined (ACE_WIN32) // We need the following call to make things work correctly on @@ -43,7 +43,7 @@ ACE_SOCK_SEQPACK_Association::close (void) // draft-ietf-tsvwg-sctpsocket-09.txt to abruptly free a transport // transport association's resources. int -ACE_SOCK_SEQPACK_Association::abort (void) +ACE_SOCK_SEQPACK_Association::abort () { // // setsockopt() SO_LINGER configures socket to reap immediately. diff --git a/ACE/ace/SOCK_SEQPACK_Connector.cpp b/ACE/ace/SOCK_SEQPACK_Connector.cpp index 92787f9a5e3..ba95da79993 100644 --- a/ACE/ace/SOCK_SEQPACK_Connector.cpp +++ b/ACE/ace/SOCK_SEQPACK_Connector.cpp @@ -23,7 +23,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_SEQPACK_Connector) void -ACE_SOCK_SEQPACK_Connector::dump (void) const +ACE_SOCK_SEQPACK_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_SEQPACK_Connector::dump"); diff --git a/ACE/ace/SOCK_Stream.cpp b/ACE/ace/SOCK_Stream.cpp index c25a9b42961..e15d2e0ed80 100644 --- a/ACE/ace/SOCK_Stream.cpp +++ b/ACE/ace/SOCK_Stream.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SOCK_Stream) void -ACE_SOCK_Stream::dump (void) const +ACE_SOCK_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SOCK_Stream::dump"); @@ -21,7 +21,7 @@ ACE_SOCK_Stream::dump (void) const } int -ACE_SOCK_Stream::close (void) +ACE_SOCK_Stream::close () { #if defined (ACE_WIN32) // We need the following call to make things work correctly on diff --git a/ACE/ace/SPIPE.cpp b/ACE/ace/SPIPE.cpp index a57a8a0ae70..546307a9355 100644 --- a/ACE/ace/SPIPE.cpp +++ b/ACE/ace/SPIPE.cpp @@ -18,13 +18,13 @@ ACE_ALLOC_HOOK_DEFINE(ACE_SPIPE) // This is the do-nothing constructor. -ACE_SPIPE::ACE_SPIPE (void) +ACE_SPIPE::ACE_SPIPE () { // ACE_TRACE ("ACE_SPIPE::ACE_SPIPE"); } void -ACE_SPIPE::dump (void) const +ACE_SPIPE::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SPIPE::dump"); @@ -44,7 +44,7 @@ ACE_SPIPE::get_local_addr (ACE_SPIPE_Addr &local_sap) const // Close down the STREAM pipe without removing the rendezvous point. int -ACE_SPIPE::close (void) +ACE_SPIPE::close () { ACE_TRACE ("ACE_SPIPE::close"); int result = 0; @@ -64,7 +64,7 @@ ACE_SPIPE::close (void) // file system. int -ACE_SPIPE::remove (void) +ACE_SPIPE::remove () { ACE_TRACE ("ACE_SPIPE::remove"); int result = this->close (); diff --git a/ACE/ace/SPIPE_Acceptor.cpp b/ACE/ace/SPIPE_Acceptor.cpp index 84420da62bc..e3313097ae9 100644 --- a/ACE/ace/SPIPE_Acceptor.cpp +++ b/ACE/ace/SPIPE_Acceptor.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_SPIPE_Acceptor::ACE_SPIPE_Acceptor (void) +ACE_SPIPE_Acceptor::ACE_SPIPE_Acceptor () #if defined (ACE_HAS_WIN32_NAMED_PIPES) : sa_ (0), pipe_handle_ (ACE_INVALID_HANDLE) #endif /* ACE_HAS_WIN32_NAMED_PIPES */ @@ -23,7 +23,7 @@ ACE_SPIPE_Acceptor::ACE_SPIPE_Acceptor (void) } int -ACE_SPIPE_Acceptor::remove (void) +ACE_SPIPE_Acceptor::remove () { ACE_TRACE ("ACE_SPIPE_Acceptor::remove"); #if defined (ACE_HAS_STREAM_PIPES) @@ -41,7 +41,7 @@ ACE_SPIPE_Acceptor::remove (void) ACE_ALLOC_HOOK_DEFINE (ACE_SPIPE_Acceptor) void -ACE_SPIPE_Acceptor::dump (void) const +ACE_SPIPE_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SPIPE_Acceptor::dump"); @@ -180,7 +180,7 @@ ACE_SPIPE_Acceptor::create_new_instance (int perms) } int -ACE_SPIPE_Acceptor::close (void) +ACE_SPIPE_Acceptor::close () { ACE_TRACE ("ACE_SPIPE_Acceptor::close"); diff --git a/ACE/ace/SPIPE_Addr.cpp b/ACE/ace/SPIPE_Addr.cpp index 519f43f1780..a12c0c79e68 100644 --- a/ACE/ace/SPIPE_Addr.cpp +++ b/ACE/ace/SPIPE_Addr.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SPIPE_Addr) void -ACE_SPIPE_Addr::dump (void) const +ACE_SPIPE_Addr::dump () const { #if defined (ACE_HAS_DUMP) #endif /* ACE_HAS_DUMP */ @@ -31,7 +31,7 @@ ACE_SPIPE_Addr::set_addr (const void *addr, int len) // Return the address. void * -ACE_SPIPE_Addr::get_addr (void) const +ACE_SPIPE_Addr::get_addr () const { return (void *) &this->SPIPE_addr_; } @@ -39,7 +39,7 @@ ACE_SPIPE_Addr::get_addr (void) const // Do nothing constructor. -ACE_SPIPE_Addr::ACE_SPIPE_Addr (void) +ACE_SPIPE_Addr::ACE_SPIPE_Addr () : ACE_Addr (AF_SPIPE, sizeof this->SPIPE_addr_) { (void) ACE_OS::memset ((void *) &this->SPIPE_addr_, diff --git a/ACE/ace/SPIPE_Connector.cpp b/ACE/ace/SPIPE_Connector.cpp index 3b29e4fcb19..bfb24eb91fd 100644 --- a/ACE/ace/SPIPE_Connector.cpp +++ b/ACE/ace/SPIPE_Connector.cpp @@ -39,14 +39,14 @@ ACE_SPIPE_Connector::ACE_SPIPE_Connector (ACE_SPIPE_Stream &new_io, } void -ACE_SPIPE_Connector::dump (void) const +ACE_SPIPE_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SPIPE_Connector::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_SPIPE_Connector::ACE_SPIPE_Connector (void) +ACE_SPIPE_Connector::ACE_SPIPE_Connector () { ACE_TRACE ("ACE_SPIPE_Connector::ACE_SPIPE_Connector"); } diff --git a/ACE/ace/SPIPE_Stream.cpp b/ACE/ace/SPIPE_Stream.cpp index c9374c19b42..003aa7c860d 100644 --- a/ACE/ace/SPIPE_Stream.cpp +++ b/ACE/ace/SPIPE_Stream.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SPIPE_Stream) void -ACE_SPIPE_Stream::dump (void) const +ACE_SPIPE_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SPIPE_Stream::dump"); @@ -24,7 +24,7 @@ ACE_SPIPE_Stream::dump (void) const // Simple-minded do nothing constructor. -ACE_SPIPE_Stream::ACE_SPIPE_Stream (void) +ACE_SPIPE_Stream::ACE_SPIPE_Stream () { // ACE_TRACE ("ACE_SPIPE_Stream::ACE_SPIPE_Stream"); } diff --git a/ACE/ace/SString.cpp b/ACE/ace/SString.cpp index 1d678159c63..d7732205bdf 100644 --- a/ACE/ace/SString.cpp +++ b/ACE/ace/SString.cpp @@ -53,7 +53,7 @@ operator<< (ACE_OSTREAM_TYPE &os, const ACE_SString &ss) // ***************************************************************** char * -ACE_NS_WString::char_rep (void) const +ACE_NS_WString::char_rep () const { ACE_TRACE ("ACE_NS_WString::char_rep"); if (this->len_ == 0) @@ -83,7 +83,7 @@ ACE_NS_WString::char_rep (void) const } ACE_UINT16 * -ACE_NS_WString::ushort_rep (void) const +ACE_NS_WString::ushort_rep () const { ACE_TRACE ("ACE_NS_WString::ushort_rep"); if (this->len_ <= 0) @@ -165,7 +165,7 @@ ACE_SString::size_type const ACE_SString::npos = ACE_ALLOC_HOOK_DEFINE(ACE_SString) void -ACE_SString::dump (void) const +ACE_SString::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SString::dump"); diff --git a/ACE/ace/SV_Message.cpp b/ACE/ace/SV_Message.cpp index 0e22199f2dd..182f9ca6294 100644 --- a/ACE/ace/SV_Message.cpp +++ b/ACE/ace/SV_Message.cpp @@ -16,7 +16,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SV_Message) void -ACE_SV_Message::dump (void) const +ACE_SV_Message::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SV_Message::dump"); diff --git a/ACE/ace/SV_Message_Queue.cpp b/ACE/ace/SV_Message_Queue.cpp index a57be50fba4..36bab27f258 100644 --- a/ACE/ace/SV_Message_Queue.cpp +++ b/ACE/ace/SV_Message_Queue.cpp @@ -15,20 +15,20 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SV_Message_Queue) void -ACE_SV_Message_Queue::dump (void) const +ACE_SV_Message_Queue::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SV_Message_Queue::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_SV_Message_Queue::ACE_SV_Message_Queue (void) : +ACE_SV_Message_Queue::ACE_SV_Message_Queue () : internal_id_ (-1) { ACE_TRACE ("ACE_SV_Message_Queue::ACE_SV_Message_Queue"); } -ACE_SV_Message_Queue::~ACE_SV_Message_Queue (void) +ACE_SV_Message_Queue::~ACE_SV_Message_Queue () { ACE_TRACE ("ACE_SV_Message_Queue::~ACE_SV_Message_Queue"); } diff --git a/ACE/ace/SV_Semaphore_Complex.cpp b/ACE/ace/SV_Semaphore_Complex.cpp index aa1a590bba1..fb20a96d555 100644 --- a/ACE/ace/SV_Semaphore_Complex.cpp +++ b/ACE/ace/SV_Semaphore_Complex.cpp @@ -14,7 +14,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SV_Semaphore_Complex) void -ACE_SV_Semaphore_Complex::dump (void) const +ACE_SV_Semaphore_Complex::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SV_Semaphore_Complex::dump"); @@ -185,7 +185,7 @@ ACE_SV_Semaphore_Complex::open (const char *name, // the ACE_SV_Semaphore. int -ACE_SV_Semaphore_Complex::close (void) +ACE_SV_Semaphore_Complex::close () { ACE_TRACE ("ACE_SV_Semaphore_Complex::close"); int semval; @@ -257,14 +257,14 @@ ACE_SV_Semaphore_Complex::ACE_SV_Semaphore_Complex (const char *name, ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("ACE_SV_Semaphore_Complex"))); } -ACE_SV_Semaphore_Complex::~ACE_SV_Semaphore_Complex (void) +ACE_SV_Semaphore_Complex::~ACE_SV_Semaphore_Complex () { ACE_TRACE ("ACE_SV_Semaphore_Complex::~ACE_SV_Semaphore_Complex"); if (this->internal_id_ >= 0) this->close (); } -ACE_SV_Semaphore_Complex::ACE_SV_Semaphore_Complex (void) +ACE_SV_Semaphore_Complex::ACE_SV_Semaphore_Complex () { ACE_TRACE ("ACE_SV_Semaphore_Complex::ACE_SV_Semaphore_Complex"); #ifdef ACE_HAS_SYSV_IPC diff --git a/ACE/ace/SV_Semaphore_Simple.cpp b/ACE/ace/SV_Semaphore_Simple.cpp index 593065ec661..c5b904e63de 100644 --- a/ACE/ace/SV_Semaphore_Simple.cpp +++ b/ACE/ace/SV_Semaphore_Simple.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_SV_Semaphore_Simple) void -ACE_SV_Semaphore_Simple::dump (void) const +ACE_SV_Semaphore_Simple::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SV_Semaphore_Simple::dump"); @@ -224,13 +224,13 @@ ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple (const wchar_t *name, } #endif /* ACE_HAS_WCHAR */ -ACE_SV_Semaphore_Simple::~ACE_SV_Semaphore_Simple (void) +ACE_SV_Semaphore_Simple::~ACE_SV_Semaphore_Simple () { ACE_TRACE ("ACE_SV_Semaphore_Simple::~ACE_SV_Semaphore_Simple"); this->close (); } -ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple (void) : +ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple () : sem_number_ (0) { ACE_TRACE ("ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple"); @@ -246,7 +246,7 @@ ACE_SV_Semaphore_Simple::ACE_SV_Semaphore_Simple (void) : // other processes should use close() below. int -ACE_SV_Semaphore_Simple::remove (void) const +ACE_SV_Semaphore_Simple::remove () const { ACE_TRACE ("ACE_SV_Semaphore_Simple::remove"); int const result = this->control (IPC_RMID); diff --git a/ACE/ace/SV_Shared_Memory.cpp b/ACE/ace/SV_Shared_Memory.cpp index ef65d4976c9..d98fc614695 100644 --- a/ACE/ace/SV_Shared_Memory.cpp +++ b/ACE/ace/SV_Shared_Memory.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_SV_Shared_Memory) void -ACE_SV_Shared_Memory::dump (void) const +ACE_SV_Shared_Memory::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_SV_Shared_Memory::dump"); @@ -60,7 +60,7 @@ ACE_SV_Shared_Memory::ACE_SV_Shared_Memory (key_t external_id, // The "do nothing" constructor. -ACE_SV_Shared_Memory::ACE_SV_Shared_Memory (void) +ACE_SV_Shared_Memory::ACE_SV_Shared_Memory () : internal_id_ (0), size_ (0), segment_ptr_ (0) diff --git a/ACE/ace/Sample_History.cpp b/ACE/ace/Sample_History.cpp index 7cebff07e59..9f6abafac04 100644 --- a/ACE/ace/Sample_History.cpp +++ b/ACE/ace/Sample_History.cpp @@ -25,7 +25,7 @@ ACE_Sample_History::ACE_Sample_History (size_t max_samples) #endif /* ACE_HAS_ALLOC_HOOKS */ } -ACE_Sample_History::~ACE_Sample_History (void) +ACE_Sample_History::~ACE_Sample_History () { #if defined (ACE_HAS_ALLOC_HOOKS) ACE_Allocator::instance()->free(this->samples_); diff --git a/ACE/ace/Sbrk_Memory_Pool.cpp b/ACE/ace/Sbrk_Memory_Pool.cpp index 45dd167ac6b..66c54e02b68 100644 --- a/ACE/ace/Sbrk_Memory_Pool.cpp +++ b/ACE/ace/Sbrk_Memory_Pool.cpp @@ -85,7 +85,7 @@ ACE_Sbrk_Memory_Pool::init_acquire (size_t nbytes, } void -ACE_Sbrk_Memory_Pool::dump (void) const +ACE_Sbrk_Memory_Pool::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sbrk_Memory_Pool::dump"); @@ -98,12 +98,12 @@ ACE_Sbrk_Memory_Pool::ACE_Sbrk_Memory_Pool (const ACE_TCHAR *, ACE_TRACE ("ACE_Sbrk_Memory_Pool::ACE_Sbrk_Memory_Pool"); } -ACE_Sbrk_Memory_Pool::~ACE_Sbrk_Memory_Pool (void) +ACE_Sbrk_Memory_Pool::~ACE_Sbrk_Memory_Pool () { } void * -ACE_Sbrk_Memory_Pool::base_addr (void) const +ACE_Sbrk_Memory_Pool::base_addr () const { return 0; } diff --git a/ACE/ace/Select_Reactor_Base.cpp b/ACE/ace/Select_Reactor_Base.cpp index 592e95da6e8..391dd182b94 100644 --- a/ACE/ace/Select_Reactor_Base.cpp +++ b/ACE/ace/Select_Reactor_Base.cpp @@ -116,7 +116,7 @@ ACE_Select_Reactor_Handler_Repository::ACE_Select_Reactor_Handler_Repository (AC } int -ACE_Select_Reactor_Handler_Repository::unbind_all (void) +ACE_Select_Reactor_Handler_Repository::unbind_all () { // Unbind all of the <handle, ACE_Event_Handler>s. #ifdef ACE_SELECT_REACTOR_BASE_USES_HASH_MAP @@ -157,7 +157,7 @@ ACE_Select_Reactor_Handler_Repository::unbind_all (void) } int -ACE_Select_Reactor_Handler_Repository::close (void) +ACE_Select_Reactor_Handler_Repository::close () { ACE_TRACE ("ACE_Select_Reactor_Handler_Repository::close"); @@ -441,7 +441,7 @@ ACE_Select_Reactor_Handler_Repository_Iterator::next ( // Move forward by one element in the set. bool -ACE_Select_Reactor_Handler_Repository_Iterator::advance (void) +ACE_Select_Reactor_Handler_Repository_Iterator::advance () { #ifdef ACE_SELECT_REACTOR_BASE_USES_HASH_MAP // No need to explicitly limit search to "current" to @@ -471,7 +471,7 @@ ACE_Select_Reactor_Handler_Repository_Iterator::advance (void) // Dump the state of an object. void -ACE_Select_Reactor_Handler_Repository_Iterator::dump (void) const +ACE_Select_Reactor_Handler_Repository_Iterator::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Select_Reactor_Handler_Repository_Iterator::dump"); @@ -489,7 +489,7 @@ ACE_Select_Reactor_Handler_Repository_Iterator::dump (void) const } void -ACE_Select_Reactor_Handler_Repository::dump (void) const +ACE_Select_Reactor_Handler_Repository::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Select_Reactor_Handler_Repository::dump"); @@ -528,13 +528,13 @@ ACE_Select_Reactor_Handler_Repository::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Select_Reactor_Notify::ACE_Select_Reactor_Notify (void) +ACE_Select_Reactor_Notify::ACE_Select_Reactor_Notify () : select_reactor_ (0) , max_notify_iterations_ (-1) { } -ACE_Select_Reactor_Notify::~ACE_Select_Reactor_Notify (void) +ACE_Select_Reactor_Notify::~ACE_Select_Reactor_Notify () { } @@ -549,7 +549,7 @@ ACE_Select_Reactor_Notify::max_notify_iterations (int iterations) } int -ACE_Select_Reactor_Notify::max_notify_iterations (void) +ACE_Select_Reactor_Notify::max_notify_iterations () { return this->max_notify_iterations_; } @@ -578,7 +578,7 @@ ACE_Select_Reactor_Notify::purge_pending_notifications (ACE_Event_Handler *eh, } void -ACE_Select_Reactor_Notify::dump (void) const +ACE_Select_Reactor_Notify::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Select_Reactor_Notify::dump"); @@ -654,7 +654,7 @@ ACE_Select_Reactor_Notify::open (ACE_Reactor_Impl *r, } int -ACE_Select_Reactor_Notify::close (void) +ACE_Select_Reactor_Notify::close () { ACE_TRACE ("ACE_Select_Reactor_Notify::close"); @@ -763,7 +763,7 @@ ACE_Select_Reactor_Notify::dispatch_notifications (int &number_of_active_handles ACE_HANDLE -ACE_Select_Reactor_Notify::notify_handle (void) +ACE_Select_Reactor_Notify::notify_handle () { ACE_TRACE ("ACE_Select_Reactor_Notify::notify_handle"); @@ -1133,7 +1133,7 @@ ACE_Select_Reactor_Impl::clear_dispatch_mask (ACE_HANDLE handle, int -ACE_Select_Reactor_Impl::resumable_handler (void) +ACE_Select_Reactor_Impl::resumable_handler () { // The select reactor has no handlers that can be resumed by the // application. So return 0; diff --git a/ACE/ace/Semaphore.cpp b/ACE/ace/Semaphore.cpp index dcbac24fcc3..63cbf87769e 100644 --- a/ACE/ace/Semaphore.cpp +++ b/ACE/ace/Semaphore.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Semaphore) void -ACE_Semaphore::dump (void) const +ACE_Semaphore::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Semaphore::dump"); @@ -51,7 +51,7 @@ ACE_Semaphore::ACE_Semaphore (unsigned int count, ACE_TEXT ("ACE_Semaphore::ACE_Semaphore"))); } -ACE_Semaphore::~ACE_Semaphore (void) +ACE_Semaphore::~ACE_Semaphore () { // ACE_TRACE ("ACE_Semaphore::~ACE_Semaphore"); diff --git a/ACE/ace/Service_Config.cpp b/ACE/ace/Service_Config.cpp index cce7acc6693..54b48c37a1a 100644 --- a/ACE/ace/Service_Config.cpp +++ b/ACE/ace/Service_Config.cpp @@ -28,13 +28,13 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Threading_Helper<ACE_Thread_Mutex>::~ACE_Threading_Helper (void) +ACE_Threading_Helper<ACE_Thread_Mutex>::~ACE_Threading_Helper () { ACE_OS::thr_key_detach (this->key_); ACE_OS::thr_keyfree (this->key_); } -ACE_Threading_Helper<ACE_Thread_Mutex>::ACE_Threading_Helper (void) +ACE_Threading_Helper<ACE_Thread_Mutex>::ACE_Threading_Helper () : key_ (ACE_OS::NULL_key) { # if defined (ACE_HAS_TSS_EMULATION) @@ -59,7 +59,7 @@ ACE_Threading_Helper<ACE_Thread_Mutex>::set (void* p) } void* -ACE_Threading_Helper<ACE_Thread_Mutex>::get (void) +ACE_Threading_Helper<ACE_Thread_Mutex>::get () { void* temp = 0; if (ACE_Thread::getspecific (key_, &temp) == -1) @@ -84,7 +84,7 @@ ACE_Threading_Helper<ACE_Null_Mutex>::set (void*) } void* -ACE_Threading_Helper<ACE_Null_Mutex>::get (void) +ACE_Threading_Helper<ACE_Null_Mutex>::get () { return ACE_Service_Config::singleton()->instance_.get (); } @@ -118,7 +118,7 @@ ACE_Service_Config_Guard::ACE_Service_Config_Guard (ACE_Service_Gestalt * psg) ACE_Service_Config::current (psg); } -ACE_Service_Config_Guard::~ACE_Service_Config_Guard (void) +ACE_Service_Config_Guard::~ACE_Service_Config_Guard () { ACE_Service_Gestalt* s = this->saved_.get (); ACE_ASSERT (s != 0); @@ -154,7 +154,7 @@ bool ACE_Service_Config::be_a_daemon_ = false; int ACE_Service_Config::signum_ = SIGHUP; void -ACE_Service_Config::dump (void) const +ACE_Service_Config::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Config::dump"); @@ -326,7 +326,7 @@ ACE_Service_Config::open_i (const ACE_TCHAR program_name[], /// Return the global configuration instance. Always returns the same /// instance ACE_Service_Config * -ACE_Service_Config::singleton (void) +ACE_Service_Config::singleton () { return ACE_SERVICE_CONFIG_SINGLETON::instance (); } @@ -424,7 +424,7 @@ ACE_Service_Config::ACE_Service_Config (const ACE_TCHAR program_name[], /// provides a way of temporarily replacing the "current" /// configuration instance in the context of a thread. ACE_Service_Gestalt* -ACE_Service_Config::current (void) +ACE_Service_Config::current () { void* temp = ACE_Service_Config::singleton()->threadkey_.get (); if (temp == 0) { @@ -528,7 +528,7 @@ ACE_Service_Config::handle_signal (int sig, // Trigger reconfiguration to re-read configuration files. void -ACE_Service_Config::reconfigure (void) +ACE_Service_Config::reconfigure () { ACE_TRACE ("ACE_Service_Config::reconfigure"); @@ -553,7 +553,7 @@ ACE_Service_Config::reconfigure (void) // Tidy up and perform last rites on a terminating ACE_Service_Config. int -ACE_Service_Config::close (void) +ACE_Service_Config::close () { ACE_Service_Config::singleton ()->instance_->close (); @@ -569,7 +569,7 @@ ACE_Service_Config::close (void) int -ACE_Service_Config::fini_svcs (void) +ACE_Service_Config::fini_svcs () { ACE_TRACE ("ACE_Service_Config::fini_svcs"); @@ -588,7 +588,7 @@ ACE_Service_Config::fini_svcs (void) } /// Perform user-specified close activities and remove dynamic memory. -ACE_Service_Config::~ACE_Service_Config (void) +ACE_Service_Config::~ACE_Service_Config () { ACE_TRACE ("ACE_Service_Config::~ACE_Service_Config"); } @@ -597,7 +597,7 @@ ACE_Service_Config::~ACE_Service_Config (void) /* static */ int -ACE_Service_Config::reconfig_occurred (void) +ACE_Service_Config::reconfig_occurred () { ACE_TRACE ("ACE_Service_Config::reconfig_occurred"); return ACE_Service_Config::reconfig_occurred_ != 0; diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp index 6bc653bf2da..24ab2a8578c 100644 --- a/ACE/ace/Service_Gestalt.cpp +++ b/ACE/ace/Service_Gestalt.cpp @@ -68,7 +68,7 @@ ACE_Service_Type_Dynamic_Guard::ACE_Service_Type_Dynamic_Guard /// Destructor -ACE_Service_Type_Dynamic_Guard::~ACE_Service_Type_Dynamic_Guard (void) +ACE_Service_Type_Dynamic_Guard::~ACE_Service_Type_Dynamic_Guard () { const ACE_Service_Type *tmp = 0; @@ -140,7 +140,7 @@ Processed_Static_Svc (const ACE_Static_Svc_Descriptor *assd) ACE_OS::strcpy(name_,assd->name_); } -ACE_Service_Gestalt::Processed_Static_Svc::~Processed_Static_Svc (void) +ACE_Service_Gestalt::Processed_Static_Svc::~Processed_Static_Svc () { #if defined (ACE_HAS_ALLOC_HOOKS) ACE_Allocator::instance()->free(name_); @@ -173,7 +173,7 @@ ACE_Service_Gestalt::intrusive_remove_ref (ACE_Service_Gestalt* g) } -ACE_Service_Gestalt::~ACE_Service_Gestalt (void) +ACE_Service_Gestalt::~ACE_Service_Gestalt () { if (this->svc_repo_is_owned_) @@ -243,7 +243,7 @@ ACE_Service_Gestalt::ACE_Service_Gestalt (size_t size, /// closed instance. Must not be virtual, as it is also called from /// the constructor. int -ACE_Service_Gestalt::init_i (void) +ACE_Service_Gestalt::init_i () { // Only initialize the repo_ if (a) we are being constructed, or; // (b) we're being open()-ed, perhaps after previously having been @@ -273,7 +273,7 @@ ACE_Service_Gestalt::init_i (void) /// Add the default statically-linked services to the Service /// Repository. int -ACE_Service_Gestalt::load_static_svcs (void) +ACE_Service_Gestalt::load_static_svcs () { ACE_TRACE ("ACE_Service_Gestalt::load_static_svcs"); @@ -418,7 +418,7 @@ ACE_ALLOC_HOOK_DEFINE (ACE_Service_Gestalt) void -ACE_Service_Gestalt::dump (void) const +ACE_Service_Gestalt::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Gestalt::dump"); @@ -966,7 +966,7 @@ ACE_Service_Gestalt::process_directive (const ACE_TCHAR directive[]) int -ACE_Service_Gestalt::init_svc_conf_file_queue (void) +ACE_Service_Gestalt::init_svc_conf_file_queue () { if (this->svc_conf_file_queue_ == 0) { @@ -1142,13 +1142,13 @@ ACE_Service_Gestalt::open_i (const ACE_TCHAR program_name[], int -ACE_Service_Gestalt::is_opened (void) +ACE_Service_Gestalt::is_opened () { return this->is_opened_; } int -ACE_Service_Gestalt::process_commandline_directives (void) +ACE_Service_Gestalt::process_commandline_directives () { int result = 0; if (this->svc_queue_ != 0) @@ -1284,7 +1284,7 @@ ACE_Service_Gestalt::process_directives (bool ) // Tidy up and perform last rites on a terminating ACE_Service_Gestalt. int -ACE_Service_Gestalt::close (void) +ACE_Service_Gestalt::close () { ACE_TRACE ("ACE_Service_Gestalt::close"); diff --git a/ACE/ace/Service_Manager.cpp b/ACE/ace/Service_Manager.cpp index 547648ea5c2..7862e2312db 100644 --- a/ACE/ace/Service_Manager.cpp +++ b/ACE/ace/Service_Manager.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Service_Manager) void -ACE_Service_Manager::dump (void) const +ACE_Service_Manager::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Manager::dump"); @@ -26,27 +26,27 @@ ACE_Service_Manager::dump (void) const u_short ACE_Service_Manager::DEFAULT_PORT_ = 10000; -ACE_Service_Manager::ACE_Service_Manager (void) +ACE_Service_Manager::ACE_Service_Manager () : debug_ (false), signum_ (SIGHUP) { ACE_TRACE ("ACE_Service_Manager::ACE_Service_Manager"); } -ACE_Service_Manager::~ACE_Service_Manager (void) +ACE_Service_Manager::~ACE_Service_Manager () { ACE_TRACE ("ACE_Service_Manager::~ACE_Service_Manager"); } int -ACE_Service_Manager::suspend (void) +ACE_Service_Manager::suspend () { ACE_TRACE ("ACE_Service_Manager::suspend"); return ACE_Reactor::instance ()->suspend_handler (this); } int -ACE_Service_Manager::resume (void) +ACE_Service_Manager::resume () { ACE_TRACE ("ACE_Service_Manager::resume"); return ACE_Reactor::instance ()->resume_handler (this); @@ -149,7 +149,7 @@ ACE_Service_Manager::handle_close (ACE_HANDLE, ACE_Reactor_Mask) } int -ACE_Service_Manager::fini (void) +ACE_Service_Manager::fini () { ACE_TRACE ("ACE_Service_Manager::fini"); @@ -170,7 +170,7 @@ ACE_Service_Manager::fini (void) } ACE_HANDLE -ACE_Service_Manager::get_handle (void) const +ACE_Service_Manager::get_handle () const { ACE_TRACE ("ACE_Service_Manager::get_handle"); return this->acceptor_.get_handle (); @@ -186,7 +186,7 @@ ACE_Service_Manager::handle_signal (int, siginfo_t *, ucontext_t *) // information back to the client. int -ACE_Service_Manager::list_services (void) +ACE_Service_Manager::list_services () { ACE_TRACE ("ACE_Service_Manager::list_services"); ACE_Service_Repository_Iterator sri (*ACE_Service_Repository::instance (), 0); @@ -238,7 +238,7 @@ ACE_Service_Manager::list_services (void) // svc.conf file. int -ACE_Service_Manager::reconfigure_services (void) +ACE_Service_Manager::reconfigure_services () { ACE_TRACE ("ACE_Service_Manager::reconfigure_services"); diff --git a/ACE/ace/Service_Object.cpp b/ACE/ace/Service_Object.cpp index 742463e479d..c7429cfb075 100644 --- a/ACE/ace/Service_Object.cpp +++ b/ACE/ace/Service_Object.cpp @@ -24,7 +24,7 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Service_Object) ACE_ALLOC_HOOK_DEFINE(ACE_Service_Type) void -ACE_Service_Type::dump (void) const +ACE_Service_Type::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Type::dump"); @@ -73,7 +73,7 @@ ACE_Service_Type::ACE_Service_Type (const ACE_TCHAR *n, this->name (n); } -ACE_Service_Type::~ACE_Service_Type (void) +ACE_Service_Type::~ACE_Service_Type () { ACE_TRACE ("ACE_Service_Type::~ACE_Service_Type"); this->fini (); @@ -86,7 +86,7 @@ ACE_Service_Type::~ACE_Service_Type (void) } int -ACE_Service_Type::fini (void) +ACE_Service_Type::fini () { if (ACE::debug ()) ACELIB_DEBUG ((LM_DEBUG, @@ -123,7 +123,7 @@ ACE_Service_Type::fini (void) } int -ACE_Service_Type::suspend (void) const +ACE_Service_Type::suspend () const { ACE_TRACE ("ACE_Service_Type::suspend"); (const_cast<ACE_Service_Type *> (this))->active_ = false; @@ -131,7 +131,7 @@ ACE_Service_Type::suspend (void) const } int -ACE_Service_Type::resume (void) const +ACE_Service_Type::resume () const { ACE_TRACE ("ACE_Service_Type::resume"); (const_cast<ACE_Service_Type *> (this))->active_ = true; @@ -144,20 +144,20 @@ ACE_Service_Object::ACE_Service_Object (ACE_Reactor *r) ACE_TRACE ("ACE_Service_Object::ACE_Service_Object"); } -ACE_Service_Object::~ACE_Service_Object (void) +ACE_Service_Object::~ACE_Service_Object () { ACE_TRACE ("ACE_Service_Object::~ACE_Service_Object"); } int -ACE_Service_Object::suspend (void) +ACE_Service_Object::suspend () { ACE_TRACE ("ACE_Service_Object::suspend"); return 0; } int -ACE_Service_Object::resume (void) +ACE_Service_Object::resume () { ACE_TRACE ("ACE_Service_Object::resume"); return 0; diff --git a/ACE/ace/Service_Repository.cpp b/ACE/ace/Service_Repository.cpp index bb0755853fe..6251fbd55f1 100644 --- a/ACE/ace/Service_Repository.cpp +++ b/ACE/ace/Service_Repository.cpp @@ -24,7 +24,7 @@ ACE_Service_Repository *ACE_Service_Repository::svc_rep_ = 0; bool ACE_Service_Repository::delete_svc_rep_ = false; void -ACE_Service_Repository::dump (void) const +ACE_Service_Repository::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Repository::dump"); @@ -73,7 +73,7 @@ ACE_Service_Repository::instance (ACE_Service_Repository *s) } void -ACE_Service_Repository::close_singleton (void) +ACE_Service_Repository::close_singleton () { ACE_TRACE ("ACE_Service_Repository::close_singleton"); @@ -111,7 +111,7 @@ ACE_Service_Repository::ACE_Service_Repository (size_t size) /// Finalize (call fini() and possibly delete) all the services. int -ACE_Service_Repository::fini (void) +ACE_Service_Repository::fini () { ACE_TRACE ("ACE_Service_Repository::fini"); ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX, ace_mon, this->lock_, -1); @@ -206,7 +206,7 @@ ACE_Service_Repository::fini (void) /// Close down all the services. int -ACE_Service_Repository::close (void) +ACE_Service_Repository::close () { ACE_TRACE ("ACE_Service_Repository::close"); ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX, ace_mon, this->lock_, -1); @@ -252,7 +252,7 @@ ACE_Service_Repository::close (void) return 0; } -ACE_Service_Repository::~ACE_Service_Repository (void) +ACE_Service_Repository::~ACE_Service_Repository () { ACE_TRACE ("ACE_Service_Repository::~ACE_Service_Repository"); #ifndef ACE_NLOGGING @@ -554,7 +554,7 @@ ACE_Service_Repository::remove_i (const ACE_TCHAR name[], ACE_Service_Type **ps) ACE_ALLOC_HOOK_DEFINE(ACE_Service_Repository_Iterator) void -ACE_Service_Repository_Iterator::dump (void) const +ACE_Service_Repository_Iterator::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Repository_Iterator::dump"); @@ -593,7 +593,7 @@ ACE_Service_Repository_Iterator::next (const ACE_Service_Type *&sr) /// skip over this entry. Otherwise, we must advance the NEXT index to /// reference the next valid service entry. int -ACE_Service_Repository_Iterator::advance (void) +ACE_Service_Repository_Iterator::advance () { ACE_TRACE ("ACE_Service_Repository_Iterator::advance"); @@ -605,7 +605,7 @@ ACE_Service_Repository_Iterator::advance (void) } bool -ACE_Service_Repository_Iterator::valid (void) const +ACE_Service_Repository_Iterator::valid () const { ACE_TRACE ("ACE_Service_Repository_Iterator::valid"); if (!this->ignore_suspended_) diff --git a/ACE/ace/Service_Types.cpp b/ACE/ace/Service_Types.cpp index 0843aa04130..5a630e69d9f 100644 --- a/ACE/ace/Service_Types.cpp +++ b/ACE/ace/Service_Types.cpp @@ -18,7 +18,7 @@ using MT_Task = ACE_Task<ACE_MT_SYNCH>; ACE_ALLOC_HOOK_DEFINE(ACE_Service_Type_Impl) void -ACE_Service_Type_Impl::dump (void) const +ACE_Service_Type_Impl::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Service_Type_Impl::dump"); @@ -40,7 +40,7 @@ ACE_Service_Type_Impl::ACE_Service_Type_Impl (void *so, this->name (s_name); } -ACE_Service_Type_Impl::~ACE_Service_Type_Impl (void) +ACE_Service_Type_Impl::~ACE_Service_Type_Impl () { ACE_TRACE ("ACE_Service_Type_Impl::~ACE_Service_Type_Impl"); @@ -54,7 +54,7 @@ ACE_Service_Type_Impl::~ACE_Service_Type_Impl (void) } int -ACE_Service_Type_Impl::fini (void) const +ACE_Service_Type_Impl::fini () const { ACE_TRACE ("ACE_Service_Type_Impl::fini"); @@ -112,7 +112,7 @@ ACE_Service_Object_Type::init (int argc, ACE_TCHAR *argv[]) const } int -ACE_Service_Object_Type::fini (void) const +ACE_Service_Object_Type::fini () const { ACE_TRACE ("ACE_Service_Object_Type::fini"); @@ -130,20 +130,20 @@ ACE_Service_Object_Type::fini (void) const return ACE_Service_Type_Impl::fini (); } -ACE_Service_Object_Type::~ACE_Service_Object_Type (void) +ACE_Service_Object_Type::~ACE_Service_Object_Type () { ACE_TRACE ("ACE_Service_Object_Type::~ACE_Service_Object_Type"); } int -ACE_Service_Object_Type::suspend (void) const +ACE_Service_Object_Type::suspend () const { ACE_TRACE ("ACE_Service_Object_Type::suspend"); return static_cast<ACE_Service_Object *> (this->object ())->suspend (); } int -ACE_Service_Object_Type::resume (void) const +ACE_Service_Object_Type::resume () const { ACE_TRACE ("ACE_Service_Object_Type::resume"); return static_cast<ACE_Service_Object *> (this->object ())->resume (); @@ -159,7 +159,7 @@ ACE_Service_Object_Type::info (ACE_TCHAR **str, size_t len) const ACE_ALLOC_HOOK_DEFINE(ACE_Module_Type) void -ACE_Module_Type::dump (void) const +ACE_Module_Type::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Module_Type::dump"); @@ -176,7 +176,7 @@ ACE_Module_Type::ACE_Module_Type (void *m, ACE_TRACE ("ACE_Module_Type::ACE_Module_Type"); } -ACE_Module_Type::~ACE_Module_Type (void) +ACE_Module_Type::~ACE_Module_Type () { ACE_TRACE ("ACE_Module_Type::~ACE_Module_Type"); } @@ -207,7 +207,7 @@ ACE_Module_Type::init (int argc, ACE_TCHAR *argv[]) const } int -ACE_Module_Type::suspend (void) const +ACE_Module_Type::suspend () const { ACE_TRACE ("ACE_Module_Type::suspend"); void *obj = this->object (); @@ -223,7 +223,7 @@ ACE_Module_Type::suspend (void) const } int -ACE_Module_Type::resume (void) const +ACE_Module_Type::resume () const { ACE_TRACE ("ACE_Module_Type::resume"); void *obj = this->object (); @@ -242,7 +242,7 @@ ACE_Module_Type::resume (void) const // implementation of ACE_Module and ACE_Module::close... int -ACE_Module_Type::fini (void) const +ACE_Module_Type::fini () const { ACE_TRACE ("ACE_Module_Type::fini"); void *obj = this->object (); @@ -287,7 +287,7 @@ ACE_Module_Type::link (ACE_Module_Type *n) } ACE_Module_Type * -ACE_Module_Type::link (void) const +ACE_Module_Type::link () const { ACE_TRACE ("ACE_Module_Type::link"); return this->link_; @@ -296,7 +296,7 @@ ACE_Module_Type::link (void) const ACE_ALLOC_HOOK_DEFINE(ACE_Stream_Type) void -ACE_Stream_Type::dump (void) const +ACE_Stream_Type::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Stream_Type::dump"); @@ -311,7 +311,7 @@ ACE_Stream_Type::init (int, ACE_TCHAR *[]) const } int -ACE_Stream_Type::suspend (void) const +ACE_Stream_Type::suspend () const { ACE_TRACE ("ACE_Stream_Type::suspend"); @@ -324,7 +324,7 @@ ACE_Stream_Type::suspend (void) const } int -ACE_Stream_Type::resume (void) const +ACE_Stream_Type::resume () const { ACE_TRACE ("ACE_Stream_Type::resume"); @@ -346,7 +346,7 @@ ACE_Stream_Type::ACE_Stream_Type (void *s, ACE_TRACE ("ACE_Stream_Type::ACE_Stream_Type"); } -ACE_Stream_Type::~ACE_Stream_Type (void) +ACE_Stream_Type::~ACE_Stream_Type () { ACE_TRACE ("ACE_Stream_Type::~ACE_Stream_Type"); } @@ -370,7 +370,7 @@ ACE_Stream_Type::info (ACE_TCHAR **str, size_t len) const } int -ACE_Stream_Type::fini (void) const +ACE_Stream_Type::fini () const { ACE_TRACE ("ACE_Stream_Type::fini"); void *obj = this->object (); diff --git a/ACE/ace/Shared_Memory.cpp b/ACE/ace/Shared_Memory.cpp index 7b2cba500cf..d4dc8507087 100644 --- a/ACE/ace/Shared_Memory.cpp +++ b/ACE/ace/Shared_Memory.cpp @@ -4,7 +4,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Shared_Memory::~ACE_Shared_Memory (void) +ACE_Shared_Memory::~ACE_Shared_Memory () { } diff --git a/ACE/ace/Shared_Memory_MM.cpp b/ACE/ace/Shared_Memory_MM.cpp index c465fe0b163..feeba844ea9 100644 --- a/ACE/ace/Shared_Memory_MM.cpp +++ b/ACE/ace/Shared_Memory_MM.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Shared_Memory_MM) void -ACE_Shared_Memory_MM::dump (void) const +ACE_Shared_Memory_MM::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Shared_Memory_MM::dump"); @@ -49,7 +49,7 @@ ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (const ACE_TCHAR *file_name, // The "do-nothing" constructor. -ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (void) +ACE_Shared_Memory_MM::ACE_Shared_Memory_MM () { ACE_TRACE ("ACE_Shared_Memory_MM::ACE_Shared_Memory_MM"); } @@ -57,7 +57,7 @@ ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (void) // The overall size of the segment. size_t -ACE_Shared_Memory_MM::get_segment_size (void) const +ACE_Shared_Memory_MM::get_segment_size () const { ACE_TRACE ("ACE_Shared_Memory_MM::get_segment_size"); // This cast is legit since the original length in open() is an int. @@ -67,7 +67,7 @@ ACE_Shared_Memory_MM::get_segment_size (void) const // Unmaps the shared memory segment. int -ACE_Shared_Memory_MM::remove (void) +ACE_Shared_Memory_MM::remove () { ACE_TRACE ("ACE_Shared_Memory_MM::remove"); return shared_memory_.remove (); @@ -76,7 +76,7 @@ ACE_Shared_Memory_MM::remove (void) // Closes (unmaps) the shared memory segment. int -ACE_Shared_Memory_MM::close (void) +ACE_Shared_Memory_MM::close () { ACE_TRACE ("ACE_Shared_Memory_MM::close"); return shared_memory_.unmap (); @@ -92,7 +92,7 @@ ACE_Shared_Memory_MM::malloc (size_t) } ACE_HANDLE -ACE_Shared_Memory_MM::get_id (void) const +ACE_Shared_Memory_MM::get_id () const { ACE_TRACE ("ACE_Shared_Memory_MM::get_id"); return this->shared_memory_.handle (); diff --git a/ACE/ace/Shared_Memory_Pool.cpp b/ACE/ace/Shared_Memory_Pool.cpp index 845f595ad6a..42bf78718ea 100644 --- a/ACE/ace/Shared_Memory_Pool.cpp +++ b/ACE/ace/Shared_Memory_Pool.cpp @@ -27,7 +27,7 @@ ACE_Shared_Memory_Pool_Options::ACE_Shared_Memory_Pool_Options ( } void -ACE_Shared_Memory_Pool::dump (void) const +ACE_Shared_Memory_Pool::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Shared_Memory_Pool::dump"); @@ -283,7 +283,7 @@ ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool ( ACE_TEXT ("ACE_Sig_Handler::register_handler"))); } -ACE_Shared_Memory_Pool::~ACE_Shared_Memory_Pool (void) +ACE_Shared_Memory_Pool::~ACE_Shared_Memory_Pool () { } @@ -443,7 +443,7 @@ ACE_Shared_Memory_Pool::protect (void *, size_t, int) } void * -ACE_Shared_Memory_Pool::base_addr (void) const +ACE_Shared_Memory_Pool::base_addr () const { ACE_TRACE ("ACE_Shared_Memory_Pool::base_addr"); return this->base_addr_; diff --git a/ACE/ace/Shared_Memory_SV.cpp b/ACE/ace/Shared_Memory_SV.cpp index 1a7e10b401d..aec9559e2f4 100644 --- a/ACE/ace/Shared_Memory_SV.cpp +++ b/ACE/ace/Shared_Memory_SV.cpp @@ -13,7 +13,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Shared_Memory_SV) void -ACE_Shared_Memory_SV::dump (void) const +ACE_Shared_Memory_SV::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Shared_Memory_SV::dump"); @@ -34,7 +34,7 @@ ACE_Shared_Memory_SV::ACE_Shared_Memory_SV (key_t id, // The overall size of the segment. size_t -ACE_Shared_Memory_SV::get_segment_size (void) const +ACE_Shared_Memory_SV::get_segment_size () const { ACE_TRACE ("ACE_Shared_Memory_SV::get_segment_size"); // This cast is ok since the 'open' method for this class allows only @@ -45,7 +45,7 @@ ACE_Shared_Memory_SV::get_segment_size (void) const // Removes the shared memory segment. int -ACE_Shared_Memory_SV::remove (void) +ACE_Shared_Memory_SV::remove () { ACE_TRACE ("ACE_Shared_Memory_SV::remove"); return shared_memory_.remove (); @@ -54,7 +54,7 @@ ACE_Shared_Memory_SV::remove (void) // Closes (detaches) the shared memory segment. int -ACE_Shared_Memory_SV::close (void) +ACE_Shared_Memory_SV::close () { ACE_TRACE ("ACE_Shared_Memory_SV::close"); return shared_memory_.detach (); @@ -68,7 +68,7 @@ ACE_Shared_Memory_SV::malloc (size_t) } ACE_HANDLE -ACE_Shared_Memory_SV::get_id (void) const +ACE_Shared_Memory_SV::get_id () const { ACE_TRACE ("ACE_Shared_Memory_SV::get_id"); return this->shared_memory_.get_id (); diff --git a/ACE/ace/Shared_Object.cpp b/ACE/ace/Shared_Object.cpp index 117b32d47fe..f1d369e2ce9 100644 --- a/ACE/ace/Shared_Object.cpp +++ b/ACE/ace/Shared_Object.cpp @@ -23,7 +23,7 @@ ACE_Shared_Object::init (int, ACE_TCHAR *[]) // Terminates object when dynamic unlinking occurs. int -ACE_Shared_Object::fini (void) +ACE_Shared_Object::fini () { ACE_TRACE ("ACE_Shared_Object::fini"); return 0; @@ -40,7 +40,7 @@ ACE_Shared_Object::info (ACE_TCHAR **, size_t) const // Need to give a default implementation. -ACE_Shared_Object::~ACE_Shared_Object (void) +ACE_Shared_Object::~ACE_Shared_Object () { ACE_TRACE ("ACE_Shared_Object::~ACE_Shared_Object"); } diff --git a/ACE/ace/Sig_Adapter.cpp b/ACE/ace/Sig_Adapter.cpp index 18a5cc9b952..2010f8a3e0a 100644 --- a/ACE/ace/Sig_Adapter.cpp +++ b/ACE/ace/Sig_Adapter.cpp @@ -37,7 +37,7 @@ ACE_Sig_Adapter::~ACE_Sig_Adapter () ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Adapter) int -ACE_Sig_Adapter::sigkey (void) +ACE_Sig_Adapter::sigkey () { ACE_TRACE ("ACE_Sig_Adapter::sigkey"); return this->sigkey_; diff --git a/ACE/ace/Sig_Handler.cpp b/ACE/ace/Sig_Handler.cpp index efbc170474e..e87fb94f60d 100644 --- a/ACE/ace/Sig_Handler.cpp +++ b/ACE/ace/Sig_Handler.cpp @@ -46,7 +46,7 @@ sig_atomic_t ACE_Sig_Handler::sig_pending_ = 0; ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Handler) -ACE_Sig_Handler::~ACE_Sig_Handler (void) +ACE_Sig_Handler::~ACE_Sig_Handler () { for (int s = 1; s < ACE_NSIG; ++s) if (ACE_Sig_Handler::signal_handlers_[s]) @@ -54,7 +54,7 @@ ACE_Sig_Handler::~ACE_Sig_Handler (void) } void -ACE_Sig_Handler::dump (void) const +ACE_Sig_Handler::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sig_Handler::dump"); @@ -62,7 +62,7 @@ ACE_Sig_Handler::dump (void) const } int -ACE_Sig_Handler::sig_pending (void) +ACE_Sig_Handler::sig_pending () { ACE_TRACE ("ACE_Sig_Handler::sig_pending"); ACE_MT (ACE_Recursive_Thread_Mutex *lock = @@ -319,12 +319,12 @@ ACE_Sig_Handlers_Set::instance (int signum) ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Handlers) -ACE_Sig_Handlers::ACE_Sig_Handlers (void) +ACE_Sig_Handlers::ACE_Sig_Handlers () { } void -ACE_Sig_Handlers::dump (void) const +ACE_Sig_Handlers::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sig_Handlers::dump"); diff --git a/ACE/ace/Signal.cpp b/ACE/ace/Signal.cpp index b04b8004296..2c285661a0b 100644 --- a/ACE/ace/Signal.cpp +++ b/ACE/ace/Signal.cpp @@ -17,7 +17,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Action) void -ACE_Sig_Action::dump (void) const +ACE_Sig_Action::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sig_Action::dump"); @@ -26,20 +26,20 @@ ACE_Sig_Action::dump (void) const ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Set) -ACE_Sig_Set::~ACE_Sig_Set (void) +ACE_Sig_Set::~ACE_Sig_Set () { ACE_TRACE ("ACE_Sig_Set::~ACE_Sig_Set"); ACE_OS::sigemptyset (&this->sigset_); } -ACE_Sig_Action::~ACE_Sig_Action (void) +ACE_Sig_Action::~ACE_Sig_Action () { ACE_TRACE ("ACE_Sig_Action::~ACE_Sig_Action"); } // Restore the signal mask. -ACE_Sig_Guard::~ACE_Sig_Guard (void) +ACE_Sig_Guard::~ACE_Sig_Guard () { //ACE_TRACE ("ACE_Sig_Guard::~ACE_Sig_Guard"); if (!this->condition_) @@ -59,7 +59,7 @@ ACE_Sig_Guard::~ACE_Sig_Guard (void) } void -ACE_Sig_Set::dump (void) const +ACE_Sig_Set::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sig_Set::dump"); @@ -69,14 +69,14 @@ ACE_Sig_Set::dump (void) const ACE_ALLOC_HOOK_DEFINE(ACE_Sig_Guard) void -ACE_Sig_Guard::dump (void) const +ACE_Sig_Guard::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Sig_Guard::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_Sig_Action::ACE_Sig_Action (void) +ACE_Sig_Action::ACE_Sig_Action () { // ACE_TRACE ("ACE_Sig_Action::ACE_Sig_Action"); this->sa_.sa_flags = 0; diff --git a/ACE/ace/Sock_Connect.cpp b/ACE/ace/Sock_Connect.cpp index 43606fa2f3c..e74b4e501ce 100644 --- a/ACE/ace/Sock_Connect.cpp +++ b/ACE/ace/Sock_Connect.cpp @@ -1444,7 +1444,7 @@ return 0; // Routine to return a handle from which ioctl() requests can be made. ACE_HANDLE -ACE::get_handle (void) +ACE::get_handle () { // Solaris 2.x ACE_HANDLE handle = ACE_INVALID_HANDLE; @@ -1508,7 +1508,7 @@ ip_check (int &ipvn_enabled, int pf) #endif /* ACE_HAS_IPV6 */ bool -ACE::ipv4_enabled (void) +ACE::ipv4_enabled () { #if defined (ACE_HAS_IPV6) return static_cast<bool> (ace_ipv4_enabled == -1 ? @@ -1522,7 +1522,7 @@ ACE::ipv4_enabled (void) } int -ACE::ipv6_enabled (void) +ACE::ipv6_enabled () { #if defined (ACE_HAS_IPV6) return ace_ipv6_enabled == -1 ? diff --git a/ACE/ace/Stats.cpp b/ACE/ace/Stats.cpp index b47c4857f0c..30d60338c40 100644 --- a/ACE/ace/Stats.cpp +++ b/ACE/ace/Stats.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_UINT32 -ACE_Stats_Value::fractional_field (void) const +ACE_Stats_Value::fractional_field () const { if (precision () == 0) { @@ -190,7 +190,7 @@ ACE_Stats::std_dev (ACE_Stats_Value &std_dev, void -ACE_Stats::reset (void) +ACE_Stats::reset () { overflow_ = 0u; number_of_samples_ = 0u; diff --git a/ACE/ace/Svc_Conf_Lexer.cpp b/ACE/ace/Svc_Conf_Lexer.cpp index d431f41472a..321897c584e 100644 --- a/ACE/ace/Svc_Conf_Lexer.cpp +++ b/ACE/ace/Svc_Conf_Lexer.cpp @@ -59,7 +59,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL struct ace_yy_buffer_state { - ace_yy_buffer_state (void) + ace_yy_buffer_state () : input_ (), index_ (0), size_ (0), @@ -77,7 +77,7 @@ struct ace_yy_buffer_state # pragma warning (pop) #endif /* VC8 */ - ~ace_yy_buffer_state (void) + ~ace_yy_buffer_state () { #if defined (ACE_USES_WCHAR) delete converter_; diff --git a/ACE/ace/Synch_Options.cpp b/ACE/ace/Synch_Options.cpp index 91f5cd1f874..a407a4583b1 100644 --- a/ACE/ace/Synch_Options.cpp +++ b/ACE/ace/Synch_Options.cpp @@ -12,7 +12,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE (ACE_Synch_Options) void -ACE_Synch_Options::dump (void) const +ACE_Synch_Options::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Synch_Options::dump"); @@ -74,7 +74,7 @@ ACE_Synch_Options::operator= (unsigned long option) } const ACE_Time_Value & -ACE_Synch_Options::timeout (void) const +ACE_Synch_Options::timeout () const { ACE_TRACE ("ACE_Synch_Options::timeout"); return this->timeout_; @@ -88,14 +88,14 @@ ACE_Synch_Options::timeout (const ACE_Time_Value &tv) } const ACE_Time_Value * -ACE_Synch_Options::time_value (void) const +ACE_Synch_Options::time_value () const { ACE_TRACE ("ACE_Synch_Options::time_value"); return (*this)[USE_TIMEOUT] ? &this->timeout_ : 0; } const void * -ACE_Synch_Options::arg (void) const +ACE_Synch_Options::arg () const { ACE_TRACE ("ACE_Synch_Options::arg"); return this->arg_; diff --git a/ACE/ace/System_Time.cpp b/ACE/ace/System_Time.cpp index e7c3471049d..aa22dbd757f 100644 --- a/ACE/ace/System_Time.cpp +++ b/ACE/ace/System_Time.cpp @@ -51,7 +51,7 @@ ACE_System_Time::ACE_System_Time (const ACE_TCHAR *poolname) ALLOCATOR (this->poolname_)); } -ACE_System_Time::~ACE_System_Time (void) +ACE_System_Time::~ACE_System_Time () { ACE_TRACE ("ACE_System_Time::~ACE_System_Time"); delete this->shmem_; diff --git a/ACE/ace/TP_Reactor.cpp b/ACE/ace/TP_Reactor.cpp index 297fea48a18..724094bb23a 100644 --- a/ACE/ace/TP_Reactor.cpp +++ b/ACE/ace/TP_Reactor.cpp @@ -605,7 +605,7 @@ ACE_TP_Reactor::post_process_socket_event (ACE_EH_Dispatch_Info &dispatch_info, } int -ACE_TP_Reactor::resumable_handler (void) +ACE_TP_Reactor::resumable_handler () { return 1; } @@ -632,7 +632,7 @@ ACE_TP_Reactor::notify_handle (ACE_HANDLE, } ACE_HANDLE -ACE_TP_Reactor::get_notify_handle (void) +ACE_TP_Reactor::get_notify_handle () { // Call the notify handler to get a handle on which we would have a // notify waiting diff --git a/ACE/ace/TSS_Adapter.cpp b/ACE/ace/TSS_Adapter.cpp index ee1f55fdcac..38a31872e30 100644 --- a/ACE/ace/TSS_Adapter.cpp +++ b/ACE/ace/TSS_Adapter.cpp @@ -23,7 +23,7 @@ ACE_TSS_Adapter::ACE_TSS_Adapter (void *object, ACE_THR_DEST f) ACE_ALLOC_HOOK_DEFINE(ACE_TSS_Adapter); void -ACE_TSS_Adapter::cleanup (void) +ACE_TSS_Adapter::cleanup () { (*this->func_)(this->ts_obj_); // call cleanup routine for ts_obj_ } diff --git a/ACE/ace/TTY_IO.cpp b/ACE/ace/TTY_IO.cpp index 53c56baddab..b471555d1a8 100644 --- a/ACE/ace/TTY_IO.cpp +++ b/ACE/ace/TTY_IO.cpp @@ -24,11 +24,11 @@ namespace ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_TTY_IO::ACE_TTY_IO (void) +ACE_TTY_IO::ACE_TTY_IO () { } -ACE_TTY_IO::Serial_Params::Serial_Params (void) +ACE_TTY_IO::Serial_Params::Serial_Params () { baudrate = 9600; xonlim = 0; diff --git a/ACE/ace/Task.cpp b/ACE/ace/Task.cpp index 17acc652f27..ef7e702c089 100644 --- a/ACE/ace/Task.cpp +++ b/ACE/ace/Task.cpp @@ -23,13 +23,13 @@ ACE_Task_Base::ACE_Task_Base (ACE_Thread_Manager *thr_man) #endif /* ACE_TANDEM_T1248_PTHREADS || ACE_THREAD_T_IS_A_STRUCT */ } -ACE_Task_Base::~ACE_Task_Base (void) +ACE_Task_Base::~ACE_Task_Base () { } /// Default ACE_Task service routine int -ACE_Task_Base::svc (void) +ACE_Task_Base::svc () { ACE_TRACE ("ACE_Task_Base::svc"); return 0; @@ -54,7 +54,7 @@ ACE_Task_Base::close (u_long) /// Forward the call to close() so that existing applications don't /// break. int -ACE_Task_Base::module_closed (void) +ACE_Task_Base::module_closed () { return this->close (1); } @@ -69,7 +69,7 @@ ACE_Task_Base::put (ACE_Message_Block *, ACE_Time_Value *) /// Wait for all threads running in a task to exit. int -ACE_Task_Base::wait (void) +ACE_Task_Base::wait () { ACE_TRACE ("ACE_Task_Base::wait"); @@ -83,7 +83,7 @@ ACE_Task_Base::wait (void) /// Suspend a task. int -ACE_Task_Base::suspend (void) +ACE_Task_Base::suspend () { ACE_TRACE ("ACE_Task_Base::suspend"); ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1)); @@ -95,7 +95,7 @@ ACE_Task_Base::suspend (void) /// Resume a suspended task. int -ACE_Task_Base::resume (void) +ACE_Task_Base::resume () { ACE_TRACE ("ACE_Task_Base::resume"); ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1)); diff --git a/ACE/ace/Thread_Adapter.cpp b/ACE/ace/Thread_Adapter.cpp index 905eefddcac..024827d01a3 100644 --- a/ACE/ace/Thread_Adapter.cpp +++ b/ACE/ace/Thread_Adapter.cpp @@ -38,14 +38,14 @@ ACE_Thread_Adapter::ACE_Thread_Adapter (ACE_THR_FUNC user_func, ACE_OS_TRACE ("ACE_Thread_Adapter::ACE_Thread_Adapter"); } -ACE_Thread_Adapter::~ACE_Thread_Adapter (void) +ACE_Thread_Adapter::~ACE_Thread_Adapter () { } ACE_ALLOC_HOOK_DEFINE(ACE_Thread_Adapter); ACE_THR_FUNC_RETURN -ACE_Thread_Adapter::invoke (void) +ACE_Thread_Adapter::invoke () { // Inherit the logging features if the parent thread has an // ACE_Log_Msg instance in thread-specific storage. @@ -97,7 +97,7 @@ ACE_Thread_Adapter::invoke (void) } ACE_THR_FUNC_RETURN -ACE_Thread_Adapter::invoke_i (void) +ACE_Thread_Adapter::invoke_i () { // Extract the arguments. ACE_THR_FUNC func = reinterpret_cast<ACE_THR_FUNC> (this->user_func_); diff --git a/ACE/ace/Thread_Control.cpp b/ACE/ace/Thread_Control.cpp index c00234e5f05..4facda2d76f 100644 --- a/ACE/ace/Thread_Control.cpp +++ b/ACE/ace/Thread_Control.cpp @@ -8,7 +8,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL void -ACE_Thread_Control::dump (void) const +ACE_Thread_Control::dump () const { #if defined (ACE_HAS_DUMP) ACE_OS_TRACE ("ACE_Thread_Control::dump"); @@ -47,7 +47,7 @@ ACE_Thread_Control::ACE_Thread_Control (ACE_Thread_Manager *t, } // Automatically kill thread on exit. -ACE_Thread_Control::~ACE_Thread_Control (void) +ACE_Thread_Control::~ACE_Thread_Control () { ACE_OS_TRACE ("ACE_Thread_Control::~ACE_Thread_Control"); diff --git a/ACE/ace/Thread_Exit.cpp b/ACE/ace/Thread_Exit.cpp index 0d35cdba213..75b340cd672 100644 --- a/ACE/ace/Thread_Exit.cpp +++ b/ACE/ace/Thread_Exit.cpp @@ -28,7 +28,7 @@ ACE_Thread_Exit::cleanup (void *instance) // from being defined. ACE_Thread_Exit * -ACE_Thread_Exit::instance (void) +ACE_Thread_Exit::instance () { #if defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || defined (ACE_HAS_TSS_EMULATION) ACE_OS_TRACE ("ACE_Thread_Exit::instance"); @@ -66,7 +66,7 @@ ACE_Thread_Exit::instance (void) // Grab hold of the Task * so that we can close() it in the // destructor. -ACE_Thread_Exit::ACE_Thread_Exit (void) +ACE_Thread_Exit::ACE_Thread_Exit () { ACE_OS_TRACE ("ACE_Thread_Exit::ACE_Thread_Exit"); } @@ -85,7 +85,7 @@ ACE_Thread_Exit::thr_mgr (ACE_Thread_Manager *tm) // When this object is destroyed the Task is automatically closed // down! -ACE_Thread_Exit::~ACE_Thread_Exit (void) +ACE_Thread_Exit::~ACE_Thread_Exit () { ACE_OS_TRACE ("ACE_Thread_Exit::~ACE_Thread_Exit"); } @@ -101,19 +101,19 @@ ACE_Thread_Exit_Maybe::ACE_Thread_Exit_Maybe (int flag) } } -ACE_Thread_Exit_Maybe::~ACE_Thread_Exit_Maybe (void) +ACE_Thread_Exit_Maybe::~ACE_Thread_Exit_Maybe () { delete this->instance_; } ACE_Thread_Exit * -ACE_Thread_Exit_Maybe::operator -> (void) const +ACE_Thread_Exit_Maybe::operator -> () const { return this->instance_; } ACE_Thread_Exit * -ACE_Thread_Exit_Maybe::instance (void) const +ACE_Thread_Exit_Maybe::instance () const { return this->instance_; } diff --git a/ACE/ace/Thread_Hook.cpp b/ACE/ace/Thread_Hook.cpp index f1b07e3925a..42e2396a0c0 100644 --- a/ACE/ace/Thread_Hook.cpp +++ b/ACE/ace/Thread_Hook.cpp @@ -24,7 +24,7 @@ ACE_Thread_Hook::thread_hook (ACE_Thread_Hook *hook) } ACE_Thread_Hook * -ACE_Thread_Hook::thread_hook (void) +ACE_Thread_Hook::thread_hook () { return ACE_OS_Object_Manager::thread_hook (); } diff --git a/ACE/ace/Thread_Manager.cpp b/ACE/ace/Thread_Manager.cpp index 43b884d0459..e5434960e02 100644 --- a/ACE/ace/Thread_Manager.cpp +++ b/ACE/ace/Thread_Manager.cpp @@ -15,12 +15,12 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_At_Thread_Exit::~ACE_At_Thread_Exit (void) +ACE_At_Thread_Exit::~ACE_At_Thread_Exit () { this->do_apply (); } -ACE_At_Thread_Exit_Func::~ACE_At_Thread_Exit_Func (void) +ACE_At_Thread_Exit_Func::~ACE_At_Thread_Exit_Func () { this->do_apply (); } @@ -28,7 +28,7 @@ ACE_At_Thread_Exit_Func::~ACE_At_Thread_Exit_Func (void) ACE_ALLOC_HOOK_DEFINE(ACE_At_Thread_Exit_Func) void -ACE_At_Thread_Exit_Func::apply (void) +ACE_At_Thread_Exit_Func::apply () { this->func_ (this->object_, this->param_); } @@ -58,7 +58,7 @@ ACE_Thread_Manager::set_thr_exit (ACE_TSS_TYPE (ACE_Thread_Exit) *ptr) } void -ACE_Thread_Manager::dump (void) +ACE_Thread_Manager::dump () { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Thread_Manager::dump"); @@ -82,7 +82,7 @@ ACE_Thread_Manager::dump (void) #endif /* ACE_HAS_DUMP */ } -ACE_Thread_Descriptor::~ACE_Thread_Descriptor (void) +ACE_Thread_Descriptor::~ACE_Thread_Descriptor () { delete this->sync_; } @@ -242,7 +242,7 @@ ACE_Thread_Descriptor::at_exit (void *object, } void -ACE_Thread_Descriptor::dump (void) const +ACE_Thread_Descriptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Thread_Descriptor::dump"); @@ -258,7 +258,7 @@ ACE_Thread_Descriptor::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Thread_Descriptor::ACE_Thread_Descriptor (void) +ACE_Thread_Descriptor::ACE_Thread_Descriptor () : log_msg_ (0), at_exit_list_ (0), tm_ (0), @@ -270,7 +270,7 @@ ACE_Thread_Descriptor::ACE_Thread_Descriptor (void) } void -ACE_Thread_Descriptor::acquire_release (void) +ACE_Thread_Descriptor::acquire_release () { // Just try to acquire the lock then release it. #if defined (ACE_THREAD_MANAGER_USES_SAFE_SPAWN) @@ -291,7 +291,7 @@ ACE_Thread_Descriptor::acquire_release (void) } void -ACE_Thread_Descriptor::acquire (void) +ACE_Thread_Descriptor::acquire () { // Just try to acquire the lock then release it. #if defined (ACE_THREAD_MANAGER_USES_SAFE_SPAWN) @@ -303,7 +303,7 @@ ACE_Thread_Descriptor::acquire (void) } void -ACE_Thread_Descriptor::release (void) +ACE_Thread_Descriptor::release () { // Just try to acquire the lock then release it. #if defined (ACE_THREAD_MANAGER_USES_SAFE_SPAWN) @@ -401,7 +401,7 @@ ACE_Thread_Manager::ACE_Thread_Manager (const ACE_Condition_Attributes &attribut #if ! defined (ACE_THREAD_MANAGER_LACKS_STATICS) ACE_Thread_Manager * -ACE_Thread_Manager::instance (void) +ACE_Thread_Manager::instance () { ACE_TRACE ("ACE_Thread_Manager::instance"); @@ -439,7 +439,7 @@ ACE_Thread_Manager::instance (ACE_Thread_Manager *tm) } void -ACE_Thread_Manager::close_singleton (void) +ACE_Thread_Manager::close_singleton () { ACE_TRACE ("ACE_Thread_Manager::close_singleton"); @@ -479,7 +479,7 @@ ACE_Thread_Manager::close () return 0; } -ACE_Thread_Manager::~ACE_Thread_Manager (void) +ACE_Thread_Manager::~ACE_Thread_Manager () { ACE_TRACE ("ACE_Thread_Manager::~ACE_Thread_Manager"); this->close (); @@ -973,7 +973,7 @@ ACE_Thread_Manager::remove_thr (ACE_Thread_Descriptor *td, // Repeatedly call remove_thr on all table entries until there // is no thread left. Must be called with lock held. void -ACE_Thread_Manager::remove_thr_all (void) +ACE_Thread_Manager::remove_thr_all () { ACE_Thread_Descriptor *td = 0; @@ -1442,14 +1442,14 @@ ACE_Thread_Manager::apply_all (ACE_THR_MEMBER_FUNC func, int arg) // Resume all threads that are suspended. int -ACE_Thread_Manager::resume_all (void) +ACE_Thread_Manager::resume_all () { ACE_TRACE ("ACE_Thread_Manager::resume_all"); return this->apply_all (ACE_THR_MEMBER_FUNC (&ACE_Thread_Manager::resume_thr)); } int -ACE_Thread_Manager::suspend_all (void) +ACE_Thread_Manager::suspend_all () { ACE_TRACE ("ACE_Thread_Manager::suspend_all"); return this->apply_all (ACE_THR_MEMBER_FUNC (&ACE_Thread_Manager::suspend_thr)); diff --git a/ACE/ace/Thread_Mutex.cpp b/ACE/ace/Thread_Mutex.cpp index b51505f7ba3..1881d405579 100644 --- a/ACE/ace/Thread_Mutex.cpp +++ b/ACE/ace/Thread_Mutex.cpp @@ -24,7 +24,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Thread_Mutex) void -ACE_Thread_Mutex::dump (void) const +ACE_Thread_Mutex::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Thread_Mutex::dump"); @@ -35,7 +35,7 @@ ACE_Thread_Mutex::dump (void) const #endif /* ACE_HAS_DUMP */ } -ACE_Thread_Mutex::~ACE_Thread_Mutex (void) +ACE_Thread_Mutex::~ACE_Thread_Mutex () { // ACE_TRACE ("ACE_Thread_Mutex::~ACE_Thread_Mutex"); this->remove (); diff --git a/ACE/ace/Thread_Semaphore.cpp b/ACE/ace/Thread_Semaphore.cpp index 1fa0bf17893..a4a18d5e788 100644 --- a/ACE/ace/Thread_Semaphore.cpp +++ b/ACE/ace/Thread_Semaphore.cpp @@ -28,7 +28,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Thread_Semaphore) void -ACE_Thread_Semaphore::dump (void) const +ACE_Thread_Semaphore::dump () const { #if defined (ACE_HAS_DUMP) // ACE_TRACE ("ACE_Thread_Semaphore::dump"); diff --git a/ACE/ace/Throughput_Stats.cpp b/ACE/ace/Throughput_Stats.cpp index 6ecc4c8aad8..5db90f1d593 100644 --- a/ACE/ace/Throughput_Stats.cpp +++ b/ACE/ace/Throughput_Stats.cpp @@ -9,7 +9,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL -ACE_Throughput_Stats::ACE_Throughput_Stats (void) +ACE_Throughput_Stats::ACE_Throughput_Stats () : ACE_Basic_Stats () , throughput_last_ (0) { diff --git a/ACE/ace/Time_Value.cpp b/ACE/ace/Time_Value.cpp index 19dfcff8c72..24b8ee58efe 100644 --- a/ACE/ace/Time_Value.cpp +++ b/ACE/ace/Time_Value.cpp @@ -54,7 +54,7 @@ ACE_Time_Value::operator ++ (int) } ACE_Time_Value & -ACE_Time_Value::operator ++ (void) +ACE_Time_Value::operator ++ () { // ACE_OS_TRACE ("ACE_Time_Value::operator ++ (void)"); this->usec (this->usec () + 1); @@ -74,7 +74,7 @@ ACE_Time_Value::operator -- (int) } ACE_Time_Value & -ACE_Time_Value::operator -- (void) +ACE_Time_Value::operator -- () { // ACE_OS_TRACE ("ACE_Time_Value::operator -- (void)"); this->usec (this->usec () - 1); @@ -166,7 +166,7 @@ ACE_Time_Value::duplicate () const } void -ACE_Time_Value::dump (void) const +ACE_Time_Value::dump () const { } diff --git a/ACE/ace/Token.cpp b/ACE/ace/Token.cpp index 86acaf07dd5..e142ea5e007 100644 --- a/ACE/ace/Token.cpp +++ b/ACE/ace/Token.cpp @@ -21,7 +21,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_Token) void -ACE_Token::dump (void) const +ACE_Token::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_Token::dump"); @@ -77,7 +77,7 @@ ACE_Token::ACE_Token_Queue_Entry::ACE_Token_Queue_Entry (ACE_Thread_Mutex &m, ACE_TRACE ("ACE_Token::ACE_Token_Queue_Entry::ACE_Token_Queue_Entry"); } -ACE_Token::ACE_Token_Queue::ACE_Token_Queue (void) +ACE_Token::ACE_Token_Queue::ACE_Token_Queue () : head_ (0), tail_ (0) { @@ -173,7 +173,7 @@ ACE_Token::ACE_Token (const ACE_TCHAR *name, void *any) // ACE_TRACE ("ACE_Token::ACE_Token"); } -ACE_Token::~ACE_Token (void) +ACE_Token::~ACE_Token () { ACE_TRACE ("ACE_Token::~ACE_Token"); } @@ -323,7 +323,7 @@ ACE_Token::shared_acquire (void (*sleep_hook_func)(void *), /* virtual */ void -ACE_Token::sleep_hook (void) +ACE_Token::sleep_hook () { ACE_TRACE ("ACE_Token::sleep_hook"); } @@ -472,7 +472,7 @@ ACE_Token::renew (int requeue_position, // better be the caller's thread!). int -ACE_Token::release (void) +ACE_Token::release () { ACE_TRACE ("ACE_Token::release"); ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1); @@ -498,7 +498,7 @@ ACE_Token::release (void) } void -ACE_Token::wakeup_next_waiter (void) +ACE_Token::wakeup_next_waiter () { ACE_TRACE ("ACE_Token::wakeup_next_waiter"); diff --git a/ACE/ace/Trace.cpp b/ACE/ace/Trace.cpp index 9259a8a1909..9d7397897a0 100644 --- a/ACE/ace/Trace.cpp +++ b/ACE/ace/Trace.cpp @@ -25,7 +25,7 @@ bool ACE_Trace::enable_tracing_ = ACE_Trace::DEFAULT_TRACING; ACE_ALLOC_HOOK_DEFINE(ACE_Trace) void -ACE_Trace::dump (void) const +ACE_Trace::dump () const { #if defined (ACE_HAS_DUMP) #endif /* ACE_HAS_DUMP */ @@ -34,7 +34,7 @@ ACE_Trace::dump (void) const // Determine whether or not tracing is enabled bool -ACE_Trace::is_tracing (void) +ACE_Trace::is_tracing () { return ACE_Trace::enable_tracing_; } @@ -42,7 +42,7 @@ ACE_Trace::is_tracing (void) // Enable the tracing facility. void -ACE_Trace::start_tracing (void) +ACE_Trace::start_tracing () { ACE_Trace::enable_tracing_ = true; } @@ -50,7 +50,7 @@ ACE_Trace::start_tracing (void) // Disable the tracing facility. void -ACE_Trace::stop_tracing (void) +ACE_Trace::stop_tracing () { ACE_Trace::enable_tracing_ = false; } @@ -66,7 +66,7 @@ ACE_Trace::set_nesting_indent (int indent) // Get the nesting indentation level. int -ACE_Trace::get_nesting_indent (void) +ACE_Trace::get_nesting_indent () { return ACE_Trace::nesting_indent_; } @@ -109,7 +109,7 @@ ACE_Trace::ACE_Trace (const ACE_TCHAR *n, // Perform the second part of the trace, which prints out the NAME as // the function is exited. -ACE_Trace::~ACE_Trace (void) +ACE_Trace::~ACE_Trace () { // If ACE has not yet been initialized, don't try to trace... there's // too much stuff not yet initialized. diff --git a/ACE/ace/UNIX_Addr.cpp b/ACE/ace/UNIX_Addr.cpp index 460c58fc4b1..bae284b79ca 100644 --- a/ACE/ace/UNIX_Addr.cpp +++ b/ACE/ace/UNIX_Addr.cpp @@ -29,7 +29,7 @@ ACE_UNIX_Addr::set_addr (const void *addr, int len) // Return a pointer to the underlying address. void * -ACE_UNIX_Addr::get_addr (void) const +ACE_UNIX_Addr::get_addr () const { return (void *) &this->unix_addr_; } @@ -60,13 +60,13 @@ ACE_UNIX_Addr::addr_to_string (ACE_TCHAR s[], size_t len) const } u_long -ACE_UNIX_Addr::hash (void) const +ACE_UNIX_Addr::hash () const { return ACE::hash_pjw (this->unix_addr_.sun_path); } void -ACE_UNIX_Addr::dump (void) const +ACE_UNIX_Addr::dump () const { #if defined (ACE_HAS_DUMP) #endif /* ACE_HAS_DUMP */ @@ -74,7 +74,7 @@ ACE_UNIX_Addr::dump (void) const // Do nothing constructor. -ACE_UNIX_Addr::ACE_UNIX_Addr (void) +ACE_UNIX_Addr::ACE_UNIX_Addr () : ACE_Addr (AF_UNIX, sizeof this->unix_addr_ - sizeof (this->unix_addr_.sun_path)) { diff --git a/ACE/ace/UPIPE_Acceptor.cpp b/ACE/ace/UPIPE_Acceptor.cpp index 708c5037fe6..33d62eab73a 100644 --- a/ACE/ace/UPIPE_Acceptor.cpp +++ b/ACE/ace/UPIPE_Acceptor.cpp @@ -15,7 +15,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_UPIPE_Acceptor) void -ACE_UPIPE_Acceptor::dump (void) const +ACE_UPIPE_Acceptor::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_UPIPE_Acceptor::dump"); @@ -24,13 +24,13 @@ ACE_UPIPE_Acceptor::dump (void) const /* Do nothing routine for constructor. */ -ACE_UPIPE_Acceptor::ACE_UPIPE_Acceptor (void) +ACE_UPIPE_Acceptor::ACE_UPIPE_Acceptor () : mb_ (sizeof (ACE_UPIPE_Stream *)) { ACE_TRACE ("ACE_UPIPE_Acceptor::ACE_UPIPE_Acceptor"); } -ACE_UPIPE_Acceptor::~ACE_UPIPE_Acceptor (void) +ACE_UPIPE_Acceptor::~ACE_UPIPE_Acceptor () { ACE_TRACE ("ACE_UPIPE_Acceptor::~ACE_UPIPE_Acceptor"); } @@ -46,7 +46,7 @@ ACE_UPIPE_Acceptor::open (const ACE_UPIPE_Addr &local_addr, } int -ACE_UPIPE_Acceptor::close (void) +ACE_UPIPE_Acceptor::close () { ACE_TRACE ("ACE_UPIPE_Acceptor::close"); return this->ACE_SPIPE_Acceptor::close (); diff --git a/ACE/ace/UPIPE_Connector.cpp b/ACE/ace/UPIPE_Connector.cpp index 144c1502a33..48d854d7cd4 100644 --- a/ACE/ace/UPIPE_Connector.cpp +++ b/ACE/ace/UPIPE_Connector.cpp @@ -17,14 +17,14 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_UPIPE_Connector) void -ACE_UPIPE_Connector::dump (void) const +ACE_UPIPE_Connector::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_UPIPE_Connector::dump"); #endif /* ACE_HAS_DUMP */ } -ACE_UPIPE_Connector::ACE_UPIPE_Connector (void) +ACE_UPIPE_Connector::ACE_UPIPE_Connector () { ACE_TRACE ("ACE_UPIPE_Connector::ACE_UPIPE_Connector"); } diff --git a/ACE/ace/UPIPE_Stream.cpp b/ACE/ace/UPIPE_Stream.cpp index 46d470ce792..69c7e6e3733 100644 --- a/ACE/ace/UPIPE_Stream.cpp +++ b/ACE/ace/UPIPE_Stream.cpp @@ -14,14 +14,14 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_ALLOC_HOOK_DEFINE(ACE_UPIPE_Stream) -ACE_UPIPE_Stream::ACE_UPIPE_Stream (void) +ACE_UPIPE_Stream::ACE_UPIPE_Stream () : mb_last_ (0), reference_count_ (0) { ACE_TRACE ("ACE_UPIPE_Stream::ACE_UPIPE_STREAM"); } -ACE_UPIPE_Stream::~ACE_UPIPE_Stream (void) +ACE_UPIPE_Stream::~ACE_UPIPE_Stream () { if (this->mb_last_ != 0) { @@ -41,7 +41,7 @@ ACE_UPIPE_Stream::control (int cmd, } void -ACE_UPIPE_Stream::dump (void) const +ACE_UPIPE_Stream::dump () const { #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_UPIPE_Stream::dump"); @@ -49,7 +49,7 @@ ACE_UPIPE_Stream::dump (void) const } int -ACE_UPIPE_Stream::close (void) +ACE_UPIPE_Stream::close () { ACE_TRACE ("ACE_UPIPE_Stream::close"); ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1)); diff --git a/ACE/ace/UUID.cpp b/ACE/ace/UUID.cpp index dbac895fb8a..0b424fd3528 100644 --- a/ACE/ace/UUID.cpp +++ b/ACE/ace/UUID.cpp @@ -55,7 +55,7 @@ namespace ACE_Utils return *this; } - const ACE_CString * UUID::to_string (void) const + const ACE_CString * UUID::to_string () const { // Compute the string representation only once. if (0 != this->as_string_.get ()) @@ -319,7 +319,7 @@ namespace ACE_Utils } #endif // ACE_LACKS_SSCANF - UUID_Generator::UUID_Generator (void) + UUID_Generator::UUID_Generator () : time_last_ (0), destroy_lock_ (true), is_init_ (false) @@ -328,14 +328,14 @@ namespace ACE_Utils this->init (); } - UUID_Generator::~UUID_Generator (void) + UUID_Generator::~UUID_Generator () { if (destroy_lock_) delete lock_; } void - UUID_Generator::init (void) + UUID_Generator::init () { if (this->is_init_) return; @@ -501,7 +501,7 @@ namespace ACE_Utils } ACE_SYNCH_MUTEX* - UUID_Generator::lock (void) + UUID_Generator::lock () { return this->lock_; } |