summaryrefslogtreecommitdiffstats
path: root/src/H5Ptest.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-06-01 18:37:52 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-06-01 18:37:52 (GMT)
commit5f0eed3fdc4fff9b714b5aa3d0d43114a95c0f29 (patch)
tree1d8fb1fe17ec772f9c0ca05b98bd17645f140118 /src/H5Ptest.c
parentf745476aa506e6df8c2811df22c821481b0fafc8 (diff)
downloadhdf5-5f0eed3fdc4fff9b714b5aa3d0d43114a95c0f29.zip
hdf5-5f0eed3fdc4fff9b714b5aa3d0d43114a95c0f29.tar.gz
hdf5-5f0eed3fdc4fff9b714b5aa3d0d43114a95c0f29.tar.bz2
Normalization with hdf5_1_10
Diffstat (limited to 'src/H5Ptest.c')
-rw-r--r--src/H5Ptest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Ptest.c b/src/H5Ptest.c
index 114b37b..303fbf7 100644
--- a/src/H5Ptest.c
+++ b/src/H5Ptest.c
@@ -82,7 +82,7 @@ done:
PURPOSE
Routine to open a [copy of] a class with its full path name
USAGE
- hid_t H5P__open_class_name_test(path)
+ hid_t H5P__open_class_path_test(path)
const char *path; IN: Full path name of class to open [copy of]
RETURNS
Success: ID of generic property class
@@ -105,19 +105,19 @@ H5P__open_class_path_test(const char *path)
FUNC_ENTER_PACKAGE
/* Check arguments. */
- if(NULL == path || *path=='\0')
+ if (NULL == path || *path=='\0')
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid class path");
/* Open the property list class */
- if(NULL == (pclass = H5P__open_class_path(path)))
+ if (NULL == (pclass = H5P__open_class_path(path)))
HGOTO_ERROR(H5E_PLIST, H5E_NOTFOUND, H5I_INVALID_HID, "unable to find class with full path");
/* Get an atom for the class */
- if((ret_value = H5I_register(H5I_GENPROP_CLS, pclass, TRUE)) < 0)
+ if ((ret_value = H5I_register(H5I_GENPROP_CLS, pclass, TRUE)) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTREGISTER, H5I_INVALID_HID, "unable to atomize property list class");
done:
- if(H5I_INVALID_HID == ret_value && pclass)
+ if (H5I_INVALID_HID == ret_value && pclass)
H5P__close_class(pclass);
FUNC_LEAVE_NOAPI(ret_value)