diff options
-rw-r--r-- | src/H5PLpublic.h | 5 | ||||
-rw-r--r-- | test/dynlib1.c | 4 | ||||
-rw-r--r-- | test/dynlib2.c | 4 | ||||
-rw-r--r-- | test/dynlib3.c | 4 |
4 files changed, 8 insertions, 9 deletions
diff --git a/src/H5PLpublic.h b/src/H5PLpublic.h index 519ac38..9b71164 100644 --- a/src/H5PLpublic.h +++ b/src/H5PLpublic.h @@ -74,12 +74,11 @@ typedef enum H5PL_type_t { extern "C" { #endif - H5PLUGIN_DLL const H5PL_type_t H5PL_get_plugin_type(void); - H5PLUGIN_DLL const H5Z_class2_t* H5PL_get_plugin_info(void); + H5PLUGIN_DLL H5PL_type_t H5PL_get_plugin_type(void); + H5PLUGIN_DLL H5Z_class2_t* H5PL_get_plugin_info(void); #ifdef __cplusplus } #endif #endif /* _H5PLpublic_H */ - diff --git a/test/dynlib1.c b/test/dynlib1.c index 47499b8..de14f6f 100644 --- a/test/dynlib1.c +++ b/test/dynlib1.c @@ -38,8 +38,8 @@ const H5Z_class2_t H5Z_DYNLIB1[1] = {{ (H5Z_func_t)H5Z_filter_dynlib1, /* The actual filter function */ }}; -const H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} -const H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB1;} +H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} +H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB1;} /*------------------------------------------------------------------------- * Function: H5Z_filter_dynlib1 diff --git a/test/dynlib2.c b/test/dynlib2.c index 733202c..648f7e0 100644 --- a/test/dynlib2.c +++ b/test/dynlib2.c @@ -39,8 +39,8 @@ const H5Z_class2_t H5Z_DYNLIB2[1] = {{ (H5Z_func_t)H5Z_filter_dynlib2, /* The actual filter function */ }}; -const H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} -const H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB2;} +H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} +H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB2;} /*------------------------------------------------------------------------- * Function: H5Z_filter_dynlib2 diff --git a/test/dynlib3.c b/test/dynlib3.c index 230096d..276a5b7 100644 --- a/test/dynlib3.c +++ b/test/dynlib3.c @@ -41,8 +41,8 @@ const H5Z_class2_t H5Z_DYNLIB3[1] = {{ (H5Z_func_t)H5Z_filter_dynlib3, /* The actual filter function */ }}; -const H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} -const H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB3;} +H5PL_type_t H5PL_get_plugin_type(void) {return H5PL_TYPE_FILTER;} +H5Z_class2_t* H5PL_get_plugin_info(void) {return H5Z_DYNLIB3;} /*------------------------------------------------------------------------- * Function: H5Z_filter_dynlib3 |