summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-12-05 19:11:40 +0000
committerJim McDonough <jmcd@samba.org>2002-12-05 19:11:40 +0000
commitb3bc5738bd9517c870fb377089e3d00170cb2b71 (patch)
tree88e6b5ae127afdb9367bcb21215f8bb7f1b07f53 /source3/registry
parent76e685e628ef2c7bf12d378d992d465525c309e5 (diff)
downloadsamba-b3bc5738bd9517c870fb377089e3d00170cb2b71.tar.gz
samba-b3bc5738bd9517c870fb377089e3d00170cb2b71.tar.bz2
samba-b3bc5738bd9517c870fb377089e3d00170cb2b71.zip
Add some const
(This used to be commit 1426a5ca4f1457be22891544df685e8f841c6337)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_objects.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c
index e637321153..663435daca 100644
--- a/source3/registry/reg_objects.c
+++ b/source3/registry/reg_objects.c
@@ -234,8 +234,8 @@ TALLOC_CTX* regval_ctr_getctx( REGVAL_CTR *val )
Add a new registry value to the array
**********************************************************************/
-int regval_ctr_addvalue( REGVAL_CTR *ctr, char *name, uint16 type,
- char *data_p, size_t size )
+int regval_ctr_addvalue( REGVAL_CTR *ctr, const char *name, uint16 type,
+ const char *data_p, size_t size )
{
REGISTRY_VALUE **ppreg;
@@ -308,7 +308,7 @@ int regval_ctr_copyvalue( REGVAL_CTR *ctr, REGISTRY_VALUE *val )
No need to free memory since it is talloc'd.
**********************************************************************/
-int regval_ctr_delvalue( REGVAL_CTR *ctr, char *name )
+int regval_ctr_delvalue( REGVAL_CTR *ctr, const char *name )
{
int i;