summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/smbconf/smbconf_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c
index e8ce1f55a5..9d526b465e 100644
--- a/source3/lib/smbconf/smbconf_reg.c
+++ b/source3/lib/smbconf/smbconf_reg.c
@@ -44,7 +44,7 @@ static struct reg_private_data *rpd(struct smbconf_ctx *ctx)
/*
* check whether a given value name is forbidden in registry (smbconf)
*/
-bool registry_smbconf_valname_forbidden(const char *valname)
+static bool registry_smbconf_valname_forbidden(const char *valname)
{
/* hard code the list of forbidden names here for now */
const char *forbidden_valnames[] = {