summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-31 03:57:45 +0100
committerMichael Adam <obnox@samba.org>2007-12-31 03:57:45 +0100
commit8598bbbcb111103a592f4dcf25199a20b4de258c (patch)
tree671b88505d307c6dfd138c7005087d38b32ca8e5 /source3/libnet
parent4c7ef1c03e81f45270fddc4bd59f837d52bc34d8 (diff)
downloadsamba-8598bbbcb111103a592f4dcf25199a20b4de258c.tar.gz
samba-8598bbbcb111103a592f4dcf25199a20b4de258c.tar.bz2
samba-8598bbbcb111103a592f4dcf25199a20b4de258c.zip
Make the last two helper functions in libnet_conf.c static.
Now the registry backend is completely hidden from the API. Michael (This used to be commit 5608c398ad9a0d05d651905a81dd92b7a0e120ff)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 1b13b5bdc9..21fe8572ea 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -120,9 +120,9 @@ static bool libnet_smbconf_value_exists(struct registry_key *key,
/*
* create a subkey of KEY_SMBCONF
*/
-WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
- const char * subkeyname,
- struct registry_key **newkey)
+static WERROR libnet_smbconf_reg_createkey_internal(TALLOC_CTX *ctx,
+ const char * subkeyname,
+ struct registry_key **newkey)
{
WERROR werr = WERR_OK;
struct registry_key *create_parent = NULL;
@@ -162,7 +162,7 @@ done:
/*
* add a value to a key.
*/
-WERROR libnet_smbconf_reg_setvalue_internal(struct registry_key *key,
+static WERROR libnet_smbconf_reg_setvalue_internal(struct registry_key *key,
const char *valname,
const char *valstr)
{