diff options
Diffstat (limited to 'src/H5FDsec2.c')
-rw-r--r-- | src/H5FDsec2.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/H5FDsec2.c b/src/H5FDsec2.c index 7400c0a..6bbebd0 100644 --- a/src/H5FDsec2.c +++ b/src/H5FDsec2.c @@ -220,7 +220,7 @@ H5FL_DEFINE_STATIC(H5FD_sec2_t); hid_t H5FD_sec2_init(void) { - hid_t ret_value=H5FD_SEC2_g; /* Return value */ + hid_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5FD_sec2_init, FAIL) @@ -235,6 +235,32 @@ done: } +/*--------------------------------------------------------------------------- + * Function: H5FD_sec2_term + * + * Purpose: Shut down the VFD + * + * Return: <none> + * + * Programmer: Quincey Koziol + * Friday, Jan 30, 2004 + * + * Modification: + * + *--------------------------------------------------------------------------- + */ +void +H5FD_sec2_term(void) +{ + FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5FD_sec2_term) + + /* Reset VFL ID */ + H5FD_SEC2_g=0; + + FUNC_LEAVE_NOAPI_VOID +} /* end H5FD_sec2_term() */ + + /*------------------------------------------------------------------------- * Function: H5Pset_fapl_sec2 * |