diff options
author | Jim McDonough <jmcd@samba.org> | 2002-12-05 19:12:19 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-12-05 19:12:19 +0000 |
commit | 47edb96d9964aeece7ec2975d6781a26be0eb9c5 (patch) | |
tree | 52fd4494ea81d110513dcf444ab72d20b375b4cc | |
parent | 00a20ce45f11e62470e60a8d5fcacc6b0b1f90a2 (diff) | |
download | samba-47edb96d9964aeece7ec2975d6781a26be0eb9c5.tar.gz samba-47edb96d9964aeece7ec2975d6781a26be0eb9c5.tar.bz2 samba-47edb96d9964aeece7ec2975d6781a26be0eb9c5.zip |
Add some const
(This used to be commit 4f8c707aa9d7f629527d509ef574842d52855f15)
-rw-r--r-- | source3/registry/reg_objects.c | 6 |
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; |