diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-15 15:09:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-15 15:09:46 (GMT) |
commit | 2cf9aa63abaf8e81e74280c001abc673564c2b7e (patch) | |
tree | 3c7a5653c8cca95223e6726727fc45dab2852f02 | |
parent | 5ac6bbaf0d2d27731ce3cddf8d7760b869e90429 (diff) | |
download | hdf5-2cf9aa63abaf8e81e74280c001abc673564c2b7e.zip hdf5-2cf9aa63abaf8e81e74280c001abc673564c2b7e.tar.gz hdf5-2cf9aa63abaf8e81e74280c001abc673564c2b7e.tar.bz2 |
[svn-r5789] Purpose:
Code cleanup
Description:
Make a "H5T_t *" parameter into a "const H5T_t *" parameter.
Platforms tested:
FreeBSD 4.6 (sleipnir)
-rw-r--r-- | src/H5T.c | 2 | ||||
-rw-r--r-- | src/H5Tprivate.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2610,7 +2610,7 @@ H5Tdetect_class(hid_t type, H5T_class_t cls) *------------------------------------------------------------------------- */ htri_t -H5T_detect_class (H5T_t *dt, H5T_class_t cls) +H5T_detect_class (const H5T_t *dt, H5T_class_t cls) { int i; diff --git a/src/H5Tprivate.h b/src/H5Tprivate.h index 2381b5d..ba09e93 100644 --- a/src/H5Tprivate.h +++ b/src/H5Tprivate.h @@ -106,7 +106,7 @@ __DLL__ herr_t H5T_unregister(H5T_pers_t pers, const char *name, H5T_t *src, H5T_t *dst, H5T_conv_t func); __DLL__ herr_t H5T_path_force_reinit(H5T_t *dt); __DLL__ H5T_class_t H5T_get_class(const H5T_t *dt); -__DLL__ htri_t H5T_detect_class (H5T_t *dt, H5T_class_t cls); +__DLL__ htri_t H5T_detect_class (const H5T_t *dt, H5T_class_t cls); __DLL__ size_t H5T_get_size(const H5T_t *dt); __DLL__ int H5T_cmp(const H5T_t *dt1, const H5T_t *dt2); __DLL__ htri_t H5T_is_atomic(const H5T_t *dt); |