summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Rdeprec.c2
-rw-r--r--src/H5Tdeprec.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c
index 36f0d40..9dcfa45 100644
--- a/src/H5Rdeprec.c
+++ b/src/H5Rdeprec.c
@@ -47,6 +47,7 @@
#include "H5Rpkg.h" /* References */
+#ifndef H5_NO_DEPRECATED_SYMBOLS
/****************/
/* Local Macros */
/****************/
@@ -103,7 +104,6 @@ H5R_init_deprec_interface(void)
FUNC_LEAVE_NOAPI(H5R_init())
} /* H5R_init_deprec_interface() */
-#ifndef H5_NO_DEPRECATED_SYMBOLS
/*--------------------------------------------------------------------------
NAME
diff --git a/src/H5Tdeprec.c b/src/H5Tdeprec.c
index 6b30c55..64386b1 100644
--- a/src/H5Tdeprec.c
+++ b/src/H5Tdeprec.c
@@ -47,6 +47,7 @@
#include "H5Tpkg.h" /* Datatypes */
+#ifndef H5_NO_DEPRECATED_SYMBOLS
/****************/
/* Local Macros */
/****************/
@@ -224,4 +225,5 @@ done:
FUNC_LEAVE_API(ret_value)
} /* end H5Topen1() */
+#endif /* H5_NO_DEPRECATED_SYMBOLS */