summaryrefslogtreecommitdiffstats
path: root/src/H5PL.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-03-30 18:22:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-03-30 18:22:43 (GMT)
commitaf4d79cbb6ab621414f5c72366dadc7910e7402a (patch)
tree7fb167099fedf023d4dabe8064a7fc9032568772 /src/H5PL.c
parent0bd67539d65658d3fc6dfe2a5f0d578909e81780 (diff)
downloadhdf5-af4d79cbb6ab621414f5c72366dadc7910e7402a.zip
hdf5-af4d79cbb6ab621414f5c72366dadc7910e7402a.tar.gz
hdf5-af4d79cbb6ab621414f5c72366dadc7910e7402a.tar.bz2
HDFFV-10143 change put to replace and add const
Diffstat (limited to 'src/H5PL.c')
-rw-r--r--src/H5PL.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index abd3ea2..4bf19fc 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -417,7 +417,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5PLappend(char* plugin_path)
+H5PLappend(const char* plugin_path)
{
herr_t ret_value = SUCCEED; /* Return value */
char *dl_path = NULL;
@@ -455,7 +455,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5PLprepend(char* plugin_path)
+H5PLprepend(const char* plugin_path)
{
herr_t ret_value = SUCCEED; /* Return value */
char *dl_path = NULL;
@@ -487,7 +487,7 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5PLput
+ * Function: H5PLreplace
*
* Purpose: Replace the path at the specified index.
*
@@ -496,7 +496,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5PLput(char* plugin_path, unsigned int index)
+H5PLreplace(const char* plugin_path, unsigned int index)
{
herr_t ret_value = SUCCEED; /* Return value */
char *dl_path = NULL;
@@ -520,7 +520,7 @@ done:
dl_path = (char *)H5MM_xfree(dl_path);
FUNC_LEAVE_API(ret_value)
-} /* end H5PLput() */
+} /* end H5PLreplace() */
/*-------------------------------------------------------------------------
@@ -533,7 +533,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5PLinsert(char* plugin_path, unsigned int index)
+H5PLinsert(const char* plugin_path, unsigned int index)
{
herr_t ret_value = SUCCEED; /* Return value */
char *dl_path = NULL;