summaryrefslogtreecommitdiffstats
path: root/c++/test/tattr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/tattr.cpp')
-rw-r--r--c++/test/tattr.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index d20466e..a739618 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -27,18 +27,13 @@
#endif
#include <string>
-#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cerr;
using std::endl;
#endif // H5_NO_STD
-#endif
#include "H5Cpp.h" // C++ API header file
-
-#ifndef H5_NO_NAMESPACE
- using namespace H5;
-#endif
+using namespace H5;
#include "h5cpputil.h" // C++ utilility header file
@@ -1783,9 +1778,7 @@ static void test_attr_corder_create_basic(FileCreatPropList& fcpl,
** test_attr(): Main attribute testing routine.
**
****************************************************************/
-#ifdef __cplusplus
extern "C"
-#endif
void test_attr()
{
// Output message about test being performed
@@ -1883,9 +1876,7 @@ void test_attr()
*
*-------------------------------------------------------------------------
*/
-#ifdef __cplusplus
extern "C"
-#endif
void cleanup_attr()
{
HDremove(FILE_BASIC.c_str());