summaryrefslogtreecommitdiffstats
path: root/test/testhdf5.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/testhdf5.h')
-rw-r--r--test/testhdf5.h25
1 files changed, 8 insertions, 17 deletions
diff --git a/test/testhdf5.h b/test/testhdf5.h
index ae83311..2a9af68 100644
--- a/test/testhdf5.h
+++ b/test/testhdf5.h
@@ -19,23 +19,14 @@
#ifndef HDF5TEST_H
#define HDF5TEST_H
-/* Include required headers */
-#include "hdf5.h"
-#include <stdarg.h>
-
-/* Define these for use in all the tests */
-#ifndef HDF5_TEST_MASTER
-extern
-#endif
-int num_errs
-#ifdef HDF5_TEST_MASTER
-= 0
-#endif
-, Verbosity
-#ifdef HDF5_TEST_MASTER
-= 0
-#endif
- ;
+/*
+ * Include required headers. This file tests internal library functions,
+ * so we include the private headers here.
+ */
+#include <H5private.h>
+
+extern int num_errs;
+extern int Verbosity;
/* Use %ld to print the value because long should cover most cases. */
/* Used to make certain a return value _is_not_ a value */