summaryrefslogtreecommitdiff
path: root/ACE/ASNMP
diff options
context:
space:
mode:
authorKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
committerKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
commit3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch)
tree379c29e09bf55597fe6740cd163478cd1204a181 /ACE/ASNMP
parentfe03724176dcfd20e0f9a6e493198469242be6b6 (diff)
downloadATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/ASNMP')
-rw-r--r--ACE/ASNMP/tests/Gauge_Test.cpp2
-rw-r--r--ACE/ASNMP/tests/test_config.h16
2 files changed, 9 insertions, 9 deletions
diff --git a/ACE/ASNMP/tests/Gauge_Test.cpp b/ACE/ASNMP/tests/Gauge_Test.cpp
index 5660069ad5a..31f49af2532 100644
--- a/ACE/ASNMP/tests/Gauge_Test.cpp
+++ b/ACE/ASNMP/tests/Gauge_Test.cpp
@@ -54,7 +54,7 @@ DAMAGES.
value of 2^32-1 (4294967295 dec) for gauges.
*/
static void
-TestGuage (void)
+TestGuage ()
{
#if !defined (ACE_WIN32)
long l = LONG_MAX, nl = LONG_MIN; // limits.h
diff --git a/ACE/ASNMP/tests/test_config.h b/ACE/ASNMP/tests/test_config.h
index 39601b60064..c8895165d99 100644
--- a/ACE/ASNMP/tests/test_config.h
+++ b/ACE/ASNMP/tests/test_config.h
@@ -97,11 +97,11 @@ char ACE_ALPHABET[] = "abcdefghijklmnopqrstuvwxyz";
class ACE_Test_Output
{
public:
- ACE_Test_Output (void);
- ~ACE_Test_Output (void);
+ ACE_Test_Output ();
+ ~ACE_Test_Output ();
int set_output (const ACE_TCHAR *filename, int append = 0);
- ofstream *output_file (void);
- void close (void);
+ ofstream *output_file ();
+ void close ();
private:
ofstream output_file_;
@@ -109,11 +109,11 @@ private:
static ACE_Test_Output ace_file_stream;
-ACE_Test_Output::ACE_Test_Output (void)
+ACE_Test_Output::ACE_Test_Output ()
{
}
-ACE_Test_Output::~ACE_Test_Output (void)
+ACE_Test_Output::~ACE_Test_Output ()
{
}
@@ -140,13 +140,13 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
}
ofstream *
-ACE_Test_Output::output_file (void)
+ACE_Test_Output::output_file ()
{
return &this->output_file_;
}
void
-ACE_Test_Output::close (void)
+ACE_Test_Output::close ()
{
this->output_file_.flush ();
this->output_file_.close ();