diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-19 14:37:02 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-22 16:20:53 +0200 |
commit | 2aab75d5fddc126e8085c70fe8e1b875b75a30ef (patch) | |
tree | 82498955ff2b3829d6597ed88a9eca1b1705df96 /ACE/protocols | |
parent | 5e96bb28fc7572f39b63ac2aca72800c45cdb1ee (diff) | |
download | ATCD-2aab75d5fddc126e8085c70fe8e1b875b75a30ef.tar.gz |
Part 2: Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/protocols')
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Channel.inl | 10 | ||||
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Filter.h | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Filter.inl | 4 | ||||
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Inside_Squid_Filter.inl | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Outside_Squid_Filter.inl | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/HTBP/HTBP_Session.cpp | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/INet/HTTPS_Context.inl | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/INet/SSL_CertificateCallback.inl | 2 | ||||
-rw-r--r-- | ACE/protocols/ace/INet/SSL_X509Cert.inl | 2 |
9 files changed, 14 insertions, 14 deletions
diff --git a/ACE/protocols/ace/HTBP/HTBP_Channel.inl b/ACE/protocols/ace/HTBP/HTBP_Channel.inl index c0ffb7ec252..b8d2f58c97c 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Channel.inl +++ b/ACE/protocols/ace/HTBP/HTBP_Channel.inl @@ -39,21 +39,21 @@ ACE::HTBP::Channel::filter (ACE::HTBP::Filter *f) ACE_INLINE int -ACE::HTBP::Channel::close_reader (void) +ACE::HTBP::Channel::close_reader () { return this->ace_stream_.close_reader(); } ACE_INLINE int -ACE::HTBP::Channel::close_writer (void) +ACE::HTBP::Channel::close_writer () { return this->ace_stream_.close_writer(); } ACE_INLINE int -ACE::HTBP::Channel::close (void) +ACE::HTBP::Channel::close () { return this->ace_stream_.close(); } @@ -67,7 +67,7 @@ ACE::HTBP::Channel::state () const ACE_INLINE ACE_Message_Block & -ACE::HTBP::Channel::leftovers (void) +ACE::HTBP::Channel::leftovers () { return this->leftovers_; } @@ -103,7 +103,7 @@ ACE::HTBP::Channel::ace_stream () const ACE_INLINE ACE_SOCK_Stream& -ACE::HTBP::Channel::ace_stream (void) +ACE::HTBP::Channel::ace_stream () { return this->ace_stream_; } diff --git a/ACE/protocols/ace/HTBP/HTBP_Filter.h b/ACE/protocols/ace/HTBP/HTBP_Filter.h index 537514c5f38..4e71dab6c2a 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Filter.h +++ b/ACE/protocols/ace/HTBP/HTBP_Filter.h @@ -49,7 +49,7 @@ namespace ACE public: Filter (); - virtual ~Filter (void) = default; + virtual ~Filter () = default; /// Inside and outside Send filters need to supply a data header that /// sets the stage before sending the data body, and then (maybe) send a diff --git a/ACE/protocols/ace/HTBP/HTBP_Filter.inl b/ACE/protocols/ace/HTBP/HTBP_Filter.inl index d188aedf5f8..0f37b1d50df 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Filter.inl +++ b/ACE/protocols/ace/HTBP/HTBP_Filter.inl @@ -45,14 +45,14 @@ ACE::HTBP::Filter::recv_data_trailer(ACE::HTBP::Channel *) ACE_INLINE void -ACE::HTBP::Filter::reset_http_code (void) +ACE::HTBP::Filter::reset_http_code () { this->http_code_ = 0; } ACE_INLINE int -ACE::HTBP::Filter::http_code (void) +ACE::HTBP::Filter::http_code () { return this->http_code_; } diff --git a/ACE/protocols/ace/HTBP/HTBP_Inside_Squid_Filter.inl b/ACE/protocols/ace/HTBP/HTBP_Inside_Squid_Filter.inl index f673a835318..9aaa57588ba 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Inside_Squid_Filter.inl +++ b/ACE/protocols/ace/HTBP/HTBP_Inside_Squid_Filter.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE -ACE::HTBP::Inside_Squid_Filter::~Inside_Squid_Filter (void) +ACE::HTBP::Inside_Squid_Filter::~Inside_Squid_Filter () { } diff --git a/ACE/protocols/ace/HTBP/HTBP_Outside_Squid_Filter.inl b/ACE/protocols/ace/HTBP/HTBP_Outside_Squid_Filter.inl index 57a2c48af68..a3780af298e 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Outside_Squid_Filter.inl +++ b/ACE/protocols/ace/HTBP/HTBP_Outside_Squid_Filter.inl @@ -2,7 +2,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE -ACE::HTBP::Outside_Squid_Filter::~Outside_Squid_Filter (void) +ACE::HTBP::Outside_Squid_Filter::~Outside_Squid_Filter () { } diff --git a/ACE/protocols/ace/HTBP/HTBP_Session.cpp b/ACE/protocols/ace/HTBP/HTBP_Session.cpp index 8a20862d479..d488e446a9a 100644 --- a/ACE/protocols/ace/HTBP/HTBP_Session.cpp +++ b/ACE/protocols/ace/HTBP/HTBP_Session.cpp @@ -299,7 +299,7 @@ ACE::HTBP::Session::disable (int flags) } ACE::HTBP::Stream * -ACE::HTBP::Session::stream (void)const +ACE::HTBP::Session::stream () const { return this->stream_; } diff --git a/ACE/protocols/ace/INet/HTTPS_Context.inl b/ACE/protocols/ace/INet/HTTPS_Context.inl index 98c2e3ca271..ce68777488a 100644 --- a/ACE/protocols/ace/INet/HTTPS_Context.inl +++ b/ACE/protocols/ace/INet/HTTPS_Context.inl @@ -19,7 +19,7 @@ namespace ACE } ACE_INLINE - ACE_SSL_Context& Context::ssl_context (void) + ACE_SSL_Context& Context::ssl_context () { return *this->ssl_ctx_; } diff --git a/ACE/protocols/ace/INet/SSL_CertificateCallback.inl b/ACE/protocols/ace/INet/SSL_CertificateCallback.inl index 4fb0974cb33..6f75fd9ba0e 100644 --- a/ACE/protocols/ace/INet/SSL_CertificateCallback.inl +++ b/ACE/protocols/ace/INet/SSL_CertificateCallback.inl @@ -13,7 +13,7 @@ namespace ACE } ACE_INLINE - SSL_X509Cert& SSL_CertificateCallbackArg::certificate (void) + SSL_X509Cert& SSL_CertificateCallbackArg::certificate () { return this->ssl_cert_; } diff --git a/ACE/protocols/ace/INet/SSL_X509Cert.inl b/ACE/protocols/ace/INet/SSL_X509Cert.inl index 9e7e11b1bcf..b278e35b521 100644 --- a/ACE/protocols/ace/INet/SSL_X509Cert.inl +++ b/ACE/protocols/ace/INet/SSL_X509Cert.inl @@ -57,7 +57,7 @@ namespace ACE } ACE_INLINE - ::X509* SSL_X509Cert::operator & (void) + ::X509* SSL_X509Cert::operator & () { return this->ssl_cert_; } |