summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/testframe.c10
-rw-r--r--test/testhdf5.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/test/testframe.c b/test/testframe.c
index 8070cf4..e25d3ec 100644
--- a/test/testframe.c
+++ b/test/testframe.c
@@ -311,13 +311,13 @@ int GetTestVerbosity(void)
* Set the verbosity level for the testing framework.
* Return previous verbosity level.
*/
-int SetTestVerbosity(int new)
+int SetTestVerbosity(int newval)
{
- int old;
+ int oldval;
- old = Verbosity;
- Verbosity = new;
- return(old);
+ oldval = Verbosity;
+ Verbosity = newval;
+ return(oldval);
}
diff --git a/test/testhdf5.h b/test/testhdf5.h
index be6b08a..ad532a9 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -187,7 +187,7 @@ H5TEST_DLL void TestSummary(void);
H5TEST_DLL void TestCleanup(void);
H5TEST_DLL void TestInit(void);
H5TEST_DLL int GetTestVerbosity(void);
-H5TEST_DLL int SetTestVerbosity(int new);
+H5TEST_DLL int SetTestVerbosity(int newval);
H5TEST_DLL int GetTestNumErrs(void);
H5TEST_DLL int TestErrPrintf(const char *format, ...);