summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-06-13 23:50:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:38 -0500
commitb1268fc4455f61ee49412fc256106cd34e98ce7c (patch)
tree3b2308a0f1f3e597ab8bc968d5295988c1654ec0 /source4/torture/rpc/winreg.c
parent8dcb4aa084457e6d7a68467dceebc11abe4464bd (diff)
downloadsamba-b1268fc4455f61ee49412fc256106cd34e98ce7c.tar.gz
samba-b1268fc4455f61ee49412fc256106cd34e98ce7c.tar.bz2
samba-b1268fc4455f61ee49412fc256106cd34e98ce7c.zip
r1123: Make all lp_ string functions return 'const char *'.
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r--source4/torture/rpc/winreg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index 3a1d7be68b..86b91eacc2 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -55,7 +55,8 @@ static BOOL test_GetVersion(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
}
static BOOL test_CreateKey(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
- struct policy_handle *handle, char *name, const char *class)
+ struct policy_handle *handle, const char *name,
+ const char *class)
{
struct winreg_CreateKey r;
struct policy_handle newhandle;