diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-09-02 15:38:26 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-09-02 15:38:26 (GMT) |
commit | 9d41d3679e1b5d0bb430a7374bb458656e127f15 (patch) | |
tree | 2b2a22546f93a839e5b1c9b63e7d36251bb0bb24 /src/H5M.c | |
parent | 07dacb9486230fe2522efca266ab06f4558527c3 (diff) | |
download | hdf5-9d41d3679e1b5d0bb430a7374bb458656e127f15.zip hdf5-9d41d3679e1b5d0bb430a7374bb458656e127f15.tar.gz hdf5-9d41d3679e1b5d0bb430a7374bb458656e127f15.tar.bz2 |
[svn-r61] ./src/H5.c
Changed atexit() to HDatexit().
./src/H5AC.c
Changed qsort() to HDqsort().
./src/H5B.c
Changed memcmp() to HDmemcmp().
./src/H5E.c
./src/H5M.c
Added parentheses around indirect function calls so that
checkposix doesn't complain and to advertise that it's an
indirect function call.
./src/H5F.c
./src/H5G.c
Added errors field to each function prologue to test the
script mentioned above.
./src/H5H.c
Changed fputc() to HDfputc().
./src/H5MM.c
./src/H5MMprivate.h
The argument for H5MM_xfree() is a pointer to a constant even
though the argument to free() isn't. This reduces the number
of warnings in other parts of the code but creates a new
warning in this file.
./src/H5O.c
Plugged a few memory leaks that happen during error handling.
./src/H5Oname.c
./src/debug.c
Added `HD' to the beginning of some posix functions.
Diffstat (limited to 'src/H5M.c')
-rw-r--r-- | src/H5M.c | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -233,7 +233,7 @@ hatom_t H5Mcreate(hatom_t owner_id, hobjtype_t type, const char *name) i=H5M_find_type(type); if(meta_func_arr[i].create==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].create(owner_id,type,name); + ret_value=(meta_func_arr[i].create)(owner_id,type,name); done: if(ret_value == FAIL) @@ -276,7 +276,7 @@ hatom_t H5Maccess(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].access==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].access(oid); + ret_value=(meta_func_arr[i].access)(oid); done: if(ret_value == FAIL) @@ -319,7 +319,7 @@ hatom_t H5Mcopy(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].copy==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].copy(oid); + ret_value=(meta_func_arr[i].copy)(oid); done: if(ret_value == FAIL) @@ -364,7 +364,7 @@ hatom_t H5Mfind_name(hatom_t owner_id, hobjtype_t type, const char *name) i=H5M_find_type(group); if(meta_func_arr[i].find_name==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].find_name(owner_id,type,name); + ret_value=(meta_func_arr[i].find_name)(owner_id,type,name); done: if(ret_value == FAIL) @@ -407,7 +407,7 @@ uint32 H5Mname_len(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].name_len==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].name_len(oid); + ret_value=(meta_func_arr[i].name_len)(oid); done: if(ret_value == FAIL) @@ -451,7 +451,7 @@ herr_t H5Mget_name(hatom_t oid, char *name) i=H5M_find_type(group); if(meta_func_arr[i].get_name==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].get_name(oid,name); + ret_value=(meta_func_arr[i].get_name)(oid,name); done: if(ret_value == FAIL) @@ -495,7 +495,7 @@ herr_t H5Mset_name(hatom_t oid, const char *name) i=H5M_find_type(group); if(meta_func_arr[i].set_name==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].set_name(oid,name); + ret_value=(meta_func_arr[i].set_name)(oid,name); done: if(ret_value == FAIL) @@ -540,7 +540,7 @@ hatom_t H5Msearch(hatom_t oid, hobjtype_t type, const char *name) i=H5M_find_type(group); if(meta_func_arr[i].search==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].search(oid,type,name); + ret_value=(meta_func_arr[i].search)(oid,type,name); done: if(ret_value == FAIL) @@ -585,7 +585,7 @@ hatom_t H5Mindex(hatom_t oid, hobjtype_t type, uint32 idx) i=H5M_find_type(group); if(meta_func_arr[i].index==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].index(oid,type,idx); + ret_value=(meta_func_arr[i].index)(oid,type,idx); done: if(ret_value == FAIL) @@ -628,7 +628,7 @@ hatom_t H5Mflush(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].flush==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].flush(oid); + ret_value=(meta_func_arr[i].flush)(oid); done: if(ret_value == FAIL) @@ -672,7 +672,7 @@ herr_t H5Mdelete(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].delete==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].delete(oid); + ret_value=(meta_func_arr[i].delete)(oid); done: if(ret_value == FAIL) @@ -715,7 +715,7 @@ hatom_t H5Mget_parent(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].get_parent==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].get_parent(oid); + ret_value=(meta_func_arr[i].get_parent)(oid); done: if(ret_value == FAIL) @@ -758,7 +758,7 @@ hatom_t H5Mget_file(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].get_file==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].get_file(oid); + ret_value=(meta_func_arr[i].get_file)(oid); done: if(ret_value == FAIL) @@ -801,7 +801,7 @@ herr_t H5Mrelease(hatom_t oid) i=H5M_find_type(group); if(meta_func_arr[i].release==NULL) HGOTO_ERROR(H5E_INTERNAL, H5E_UNSUPPORTED, FAIL); - ret_value=meta_func_arr[i].release(oid); + ret_value=(meta_func_arr[i].release)(oid); done: if(ret_value == FAIL) |