Commit ce6f0c9f authored by Rob Latham's avatar Rob Latham
Browse files

declare poolname 'const'

parent fb93034e
...@@ -42,5 +42,5 @@ void bake_server_register( ...@@ -42,5 +42,5 @@ void bake_server_register(
* NULL if anything goes wrong * NULL if anything goes wrong
*/ */
struct bake_pool_info *bake_server_makepool( struct bake_pool_info *bake_server_makepool(
char *poolname); const char *poolname);
#endif /* __BAKE_BULK_SERVER_H */ #endif /* __BAKE_BULK_SERVER_H */
...@@ -22,7 +22,7 @@ static PMEMobjpool *g_pmem_pool = NULL; ...@@ -22,7 +22,7 @@ static PMEMobjpool *g_pmem_pool = NULL;
static struct bake_bulk_root *g_pmem_root = NULL; static struct bake_bulk_root *g_pmem_root = NULL;
struct bake_pool_info * bake_server_makepool( struct bake_pool_info * bake_server_makepool(
char *poolname) const char *poolname)
{ {
PMEMoid root_oid; PMEMoid root_oid;
char target_string[64]; char target_string[64];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment