summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-02 04:54:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-02 04:54:19 (GMT)
commit19c9657f7c4029df52a804c7ed8b4d3b30cc6196 (patch)
tree6601816880f90040ae67df5bd27558c0f0670e86 /src/H5.c
parent0f84d2fb15813c10fca48f95772626c34039619d (diff)
downloadhdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.zip
hdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.tar.gz
hdf5-19c9657f7c4029df52a804c7ed8b4d3b30cc6196.tar.bz2
[svn-r12842] Description:
Refactor generic property list initialization code to put property list specific routines in property list modules, instead of scattered to the four winds. Also, introduce property list class initialization objects, to make adding new property list classes in the library easier. Fix daily test failure by using H5Pget_elink_prefix() API routine instead of looking at the "raw" generic property list information. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/C++ & FORTRAN Linux/64 2.4 (mir) w/build-all & 1.6 compat
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/H5.c b/src/H5.c
index eadf195..a354e87 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -98,7 +98,7 @@ H5_debug_t H5_debug_g; /*debugging info */
herr_t
H5_init_library(void)
{
- herr_t ret_value=SUCCEED;
+ herr_t ret_value = SUCCEED;
FUNC_ENTER_NOAPI(H5_init_library, FAIL)
/*
@@ -151,7 +151,7 @@ H5_init_library(void)
if (!H5_dont_atexit_g) {
(void)HDatexit(H5_term_library);
H5_dont_atexit_g = TRUE;
- }
+ } /* end if */
/*
* Initialize interfaces that might not be able to initialize themselves
@@ -163,19 +163,19 @@ H5_init_library(void)
* The link interface needs to be initialized so that link property lists
* have their properties registered.
*/
- if (H5E_init()<0)
+ if(H5E_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize error interface")
- if (H5P_init()<0)
+ if(H5P_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize property list interface")
- if (H5F_init()<0)
+ if(H5F_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize file interface")
- if (H5T_init()<0)
+ if(H5T_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize datatype interface")
- if (H5D_init()<0)
+ if(H5D_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize dataset interface")
- if (H5AC_init()<0)
+ if(H5AC_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize metadata caching interface")
- if (H5L_init()<0)
+ if(H5L_init() < 0)
HGOTO_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL, "unable to initialize link interface")
/* Debugging? */
@@ -184,7 +184,7 @@ H5_init_library(void)
done:
FUNC_LEAVE_NOAPI(ret_value)
-}
+} /* end H5_init_library() */
/*-------------------------------------------------------------------------