diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-07 13:31:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:26 -0500 |
commit | 6cf69fee189857ae6f85cd3f81a6a58364839942 (patch) | |
tree | 06d80ff7f9c730a0ae70526f94d88acea800eccd /source4/lib/registry/local.c | |
parent | bd5a802a26f427779663a3de5f6d49f352b7c473 (diff) | |
download | samba-6cf69fee189857ae6f85cd3f81a6a58364839942.tar.gz samba-6cf69fee189857ae6f85cd3f81a6a58364839942.tar.bz2 samba-6cf69fee189857ae6f85cd3f81a6a58364839942.zip |
r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
Diffstat (limited to 'source4/lib/registry/local.c')
-rw-r--r-- | source4/lib/registry/local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/local.c b/source4/lib/registry/local.c index aefb11bde2..8ccb96cbdc 100644 --- a/source4/lib/registry/local.c +++ b/source4/lib/registry/local.c @@ -146,7 +146,7 @@ WERROR local_get_predefined_key (const struct registry_context *ctx, return WERR_OK; } -WERROR local_enum_key(TALLOC_CTX *mem_ctx, +static WERROR local_enum_key(TALLOC_CTX *mem_ctx, const struct registry_key *key, uint32_t idx, const char **name, const char **keyclass, @@ -169,7 +169,7 @@ static WERROR local_create_key (TALLOC_CTX *mem_ctx, struct hive_key *hivekey; const char **elements; int i; - char *last_part; + const char *last_part; last_part = strrchr(name, '\\'); if (last_part == NULL) { |