summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-02 10:51:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:19 -0500
commit1a66ed34cd2d608b911c121bb512c050d2d59cd8 (patch)
tree6023c4458b06705bccf0097143dd6e9c2e0cf700 /source3
parent38cc572b1eef9b9ccb020eeea67a3881ff0f6664 (diff)
downloadsamba-1a66ed34cd2d608b911c121bb512c050d2d59cd8.tar.gz
samba-1a66ed34cd2d608b911c121bb512c050d2d59cd8.tar.bz2
samba-1a66ed34cd2d608b911c121bb512c050d2d59cd8.zip
r20004: Remove a const, "name" is allocated anyway
(This used to be commit dc0300ec70ff67aaec9b0bab6a1dd4d0e6fde5ac)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 672e69c6c7..907d0236c7 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -168,8 +168,7 @@ WERROR reg_enumkey(TALLOC_CTX *mem_ctx, struct registry_key *key,
}
WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
- uint32 idx, const char **pname,
- struct registry_value **pval)
+ uint32 idx, char **pname, struct registry_value **pval)
{
struct registry_value *val;
WERROR err;