[svn-r5968] Purpose:

Code cleanup
Description:
    Change new H5P_get_class_path and H5P_open_class_path functions to be non-
    static and put prototypes in H5Pprivate.h
Platforms tested:
    FreeBSD 4.6 (sleipnir) (no triple-check necessary)
This commit is contained in:
Quincey Koziol 2002-10-09 08:13:57 -05:00
parent 84276675aa
commit 2f798b85df
2 changed files with 4 additions and 2 deletions

View File

@ -4698,7 +4698,7 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
static char *
char *
H5P_get_class_path(H5P_genclass_t *pclass)
{
char *par_path; /* Parent class's full path */
@ -4806,7 +4806,7 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
static H5P_genclass_t *
H5P_genclass_t *
H5P_open_class_path(const char *path)
{
char *tmp_path=NULL; /* Temporary copy of the path */

View File

@ -40,6 +40,8 @@ H5_DLL herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size,
H5_DLL herr_t H5P_remove(hid_t plist_id, H5P_genplist_t *plist, const char *name);
H5_DLL htri_t H5P_exist_plist(H5P_genplist_t *plist, const char *name);
H5_DLL char *H5P_get_class_name(H5P_genclass_t *pclass);
H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass);
H5_DLL H5P_genclass_t *H5P_open_class_path(const char *path);
H5_DLL herr_t H5P_get_nprops_pclass(H5P_genclass_t *pclass, size_t *nprops);
H5_DLL herr_t H5P_register(H5P_genclass_t *pclass, const char *name, size_t size,
void *def_value, H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set,