summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:41:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-08-21 20:41:12 (GMT)
commitc6e35f6abd381583d3686525b1cd4fdca9eaeded (patch)
tree895403fcae846f57487b387c9f9de90c3f25c6f2 /src
parentf8a796ebfc24c8f5f2c2c4f592234deb2b225c09 (diff)
downloadhdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.zip
hdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.tar.gz
hdf5-c6e35f6abd381583d3686525b1cd4fdca9eaeded.tar.bz2
[svn-r15512] Description:
Fix a few typos introduced in r15510. Tested on: Mac OS X/32 10.5.4 (amazon) More testing upcoming
Diffstat (limited to 'src')
-rw-r--r--src/H5I.c4
-rw-r--r--src/H5Pprivate.h2
-rwxr-xr-xsrc/H5SM.c2
-rw-r--r--src/H5Z.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/H5I.c b/src/H5I.c
index ef52358..de43f8e 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -1283,7 +1283,7 @@ H5Idec_ref(hid_t id)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
/* Do actual decrement operation */
- if((ret_value = H5I_dec_ref(id), TRUE) < 0)
+ if((ret_value = H5I_dec_ref(id, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTDEC, FAIL, "can't decrement ID ref count")
done:
@@ -1417,7 +1417,7 @@ H5Iinc_ref(hid_t id)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "invalid ID")
/* Do actual increment operation */
- if((ret_value = H5I_inc_ref(id), TRUE) < 0)
+ if((ret_value = H5I_inc_ref(id, TRUE)) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTINC, FAIL, "can't increment ID ref count")
done:
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index d4264bc..885249d 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -89,7 +89,7 @@ H5_DLL int H5P_fill_value_cmp(const void *value1, const void *value2,
/* *SPECIAL* Don't make more of these! -QAK */
H5_DLL htri_t H5P_isa_class(hid_t plist_id, hid_t pclass_id);
-H5_DLL void *H5P_object_verify(hid_t plist_id, hid_t pclass_id);
+H5_DLL H5P_genplist_t *H5P_object_verify(hid_t plist_id, hid_t pclass_id);
/* Private functions to "peek" at properties of a certain type */
H5_DLL unsigned H5P_peek_unsigned(H5P_genplist_t *plist, const char *name);
diff --git a/src/H5SM.c b/src/H5SM.c
index 3616d22..3387262 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -268,7 +268,7 @@ H5SM_type_to_flag(unsigned type_id, unsigned *type_flag)
/* Fall through... */
case H5O_SDSPACE_ID:
- case H5O_DTYPE3_ID:
+ case H5O_DTYPE_ID:
case H5O_FILL_NEW_ID:
case H5O_PLINE_ID:
case H5O_ATTR_ID:
diff --git a/src/H5Z.c b/src/H5Z.c
index af2849a..0a3a8c2 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -518,7 +518,7 @@ H5Z_prelude_callback(hid_t dcpl_id, hid_t type_id, H5Z_prelude_type_t prelude_ty
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTCREATE, FAIL, "can't create simple dataspace")
/* Get ID for dataspace to pass to filter routines */
- if((space_id = H5I_register(H5I_DATASPACE, space, FALE)) < 0) {
+ if((space_id = H5I_register(H5I_DATASPACE, space, FALSE)) < 0) {
(void)H5S_close(space);
HGOTO_ERROR(H5E_ATOM, H5E_CANTREGISTER, FAIL, "unable to register dataspace ID")
} /* end if */