summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5E.c2
-rw-r--r--src/H5Eproto.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/H5E.c b/src/H5E.c
index a697f39..f893d55 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -345,6 +345,7 @@ done:
PABLO_TRACE_OFF(H5E_mask, ID_H5Epush); /* ignore ret_value set */
} /* H5Epush */
+#ifdef H5_ERROR_DEBUG
/*--------------------------------------------------------------------------
NAME
H5Eset_push -- Set the function to call when an error value is reported
@@ -391,4 +392,5 @@ done:
FUNC_LEAVE(H5E_mask, ID_H5Eset_push, ret_value);
} /* H5Eset_push */
+#endif /* H5_ERROR_DEBUG */
diff --git a/src/H5Eproto.h b/src/H5Eproto.h
index da011bf..b97d0c0 100644
--- a/src/H5Eproto.h
+++ b/src/H5Eproto.h
@@ -114,7 +114,9 @@ extern "C"
/* Functions in H5E.c */
int32 H5Enew_err_stack(uintn initial_stack_size);
intn H5Edelete_err_stack(int32 err_hand);
+#ifdef H5_ERROR_DEBUG
H5E_push_func_t H5Eset_push(H5E_push_func_t func);
+#endif /* H5_ERROR_DEBUG */
void H5Epush(hdf_maj_err_code_t maj, hdf_min_err_code_t min, const char *function_name, const char *file_name, intn line);
void H5Eclear(int32 err_hand);