summaryrefslogtreecommitdiffstats
path: root/c++/test/tvlstr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/tvlstr.cpp')
-rw-r--r--c++/test/tvlstr.cpp22
1 files changed, 5 insertions, 17 deletions
diff --git a/c++/test/tvlstr.cpp b/c++/test/tvlstr.cpp
index 6ec7f25..d39d092 100644
--- a/c++/test/tvlstr.cpp
+++ b/c++/test/tvlstr.cpp
@@ -20,27 +20,19 @@
EXTERNAL ROUTINES/VARIABLES:
***************************************************************************/
-
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
-#include <string>
-
-#ifndef H5_NO_NAMESPACE
-#ifndef H5_NO_STD
- using std::cerr;
- using std::endl;
-#endif // H5_NO_STD
-#endif
+using std::cerr;
+using std::endl;
+#include <string>
#include "H5Cpp.h" // C++ API header file
+using namespace H5;
-#ifndef H5_NO_NAMESPACE
- using namespace H5;
-#endif
-
+#include "h5test.h"
#include "h5cpputil.h" // C++ utilility header file
// Data file used in most test functions
@@ -958,9 +950,7 @@ static void test_vl_rewrite()
*
*-------------------------------------------------------------------------
*/
-#ifdef __cplusplus
extern "C"
-#endif
void test_vlstrings()
{
// Output message about test being performed
@@ -1000,9 +990,7 @@ void test_vlstrings()
*
*-------------------------------------------------------------------------
*/
-#ifdef __cplusplus
extern "C"
-#endif
void cleanup_vlstrings()
{
HDremove(FILENAME.c_str());