summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 19:53:23 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 22:31:04 +0100
commit9c3e6249fd984b823a77cab0514601d2a487920a (patch)
tree74826d39da6234a3de62cfa89578cb211f3d9739
parent5f850af84aec378780b5caeff9e795297654abcc (diff)
downloadsamba-9c3e6249fd984b823a77cab0514601d2a487920a.tar.gz
samba-9c3e6249fd984b823a77cab0514601d2a487920a.tar.bz2
samba-9c3e6249fd984b823a77cab0514601d2a487920a.zip
s4:registry - "util" - remove "const" from "reg_abs_path"
Here it's not really needed
-rw-r--r--source4/lib/registry/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c
index 8c855c25ed..47568b135e 100644
--- a/source4/lib/registry/util.c
+++ b/source4/lib/registry/util.c
@@ -211,7 +211,7 @@ WERROR reg_open_key_abs(TALLOC_CTX *mem_ctx, struct registry_context *handle,
static WERROR get_abs_parent(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path, struct registry_key **parent,
- const char **name)
+ char **name)
{
char *parent_name;
WERROR error;
@@ -238,7 +238,7 @@ WERROR reg_key_del_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
const char *path)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
if (!strchr(path, '\\')) {
@@ -262,7 +262,7 @@ WERROR reg_key_add_abs(TALLOC_CTX *mem_ctx, struct registry_context *ctx,
struct registry_key **result)
{
struct registry_key *parent;
- const char *n;
+ char *n;
WERROR error;
if (!strchr(path, '\\')) {