diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2013-04-03 20:53:13 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2013-04-03 20:53:13 (GMT) |
commit | 68b0945687c29ce157280b66ec1773d6b0890069 (patch) | |
tree | 7955b4c1d38c7322918e503a375a091b86aa4801 | |
parent | f2e9f4e8c66c35ed2f0541039da9028940a8b0a3 (diff) | |
download | hdf5-68b0945687c29ce157280b66ec1773d6b0890069.zip hdf5-68b0945687c29ce157280b66ec1773d6b0890069.tar.gz hdf5-68b0945687c29ce157280b66ec1773d6b0890069.tar.bz2 |
[svn-r23540] I took out the "const" symbol from H5PL_get_plugin_type and H5PL_get_plugin_info functions.
Tested on jam - simple change.
-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 |