summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-03-28 15:59:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-29 18:43:59 +0200
commit3629798f72aa9126e115a8f38e0455245794f9c3 (patch)
tree7af0445127dc6b773b86afca8def6c31a8f88bf0 /source4/lib
parentcac9981b1a88a37c703a76a951b0691fa4ba7b4b (diff)
downloadsamba-3629798f72aa9126e115a8f38e0455245794f9c3.tar.gz
samba-3629798f72aa9126e115a8f38e0455245794f9c3.tar.bz2
samba-3629798f72aa9126e115a8f38e0455245794f9c3.zip
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
This reverts commit 9c3e6249fd984b823a77cab0514601d2a487920a. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib')
-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 456a9d355e..9ccf73790c 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,
- char **name)
+ const 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;
- char *n;
+ const 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;
- char *n;
+ const char *n;
WERROR error;
*result = NULL;