summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c2
-rw-r--r--source3/registry/reg_backend_db.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index 543d3f2112..21d229ef22 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -2108,7 +2108,7 @@ static bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys)
return (regdb_get_seqnum() != regsubkey_ctr_get_seqnum(subkeys));
}
-bool regdb_values_need_update(struct regval_ctr *values)
+static bool regdb_values_need_update(struct regval_ctr *values)
{
return (regdb_get_seqnum() != regval_ctr_get_seqnum(values));
}
diff --git a/source3/registry/reg_backend_db.h b/source3/registry/reg_backend_db.h
index e07d8fe945..6c7fb67a6e 100644
--- a/source3/registry/reg_backend_db.h
+++ b/source3/registry/reg_backend_db.h
@@ -32,6 +32,5 @@ WERROR regdb_transaction_start(void);
WERROR regdb_transaction_commit(void);
WERROR regdb_transaction_cancel(void);
int regdb_get_seqnum(void);
-bool regdb_values_need_update(struct regval_ctr *values);
#endif /* _REG_BACKEND_DB_H */