summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/store.c2
-rw-r--r--libglusterfs/src/store.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/store.c b/libglusterfs/src/store.c
index d6a64d2cdd3..c96cd2fab24 100644
--- a/libglusterfs/src/store.c
+++ b/libglusterfs/src/store.c
@@ -374,7 +374,7 @@ out:
}
int32_t
-gf_store_handle_new (char *path, gf_store_handle_t **handle)
+gf_store_handle_new (const char *path, gf_store_handle_t **handle)
{
int32_t ret = -1;
gf_store_handle_t *shandle = NULL;
diff --git a/libglusterfs/src/store.h b/libglusterfs/src/store.h
index 1ffd97c526f..6b7c98a3547 100644
--- a/libglusterfs/src/store.h
+++ b/libglusterfs/src/store.h
@@ -74,7 +74,7 @@ int32_t
gf_store_save_value (int fd, char *key, char *value);
int32_t
-gf_store_handle_new (char *path, gf_store_handle_t **handle);
+gf_store_handle_new (const char *path, gf_store_handle_t **handle);
int
gf_store_handle_retrieve (char *path, gf_store_handle_t **handle);