summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-20 14:21:16 +0200
committerAndreas Schneider <asn@samba.org>2012-04-25 14:23:04 +0200
commita3b1c13cd4ed2c801e6b98e04e5696a4d6013051 (patch)
tree7d499471d130caf56d9833ab9c0bfba272533939
parent6ab2eb829552f6bcf932c13ce31da509727e1779 (diff)
downloadsamba-a3b1c13cd4ed2c801e6b98e04e5696a4d6013051.tar.gz
samba-a3b1c13cd4ed2c801e6b98e04e5696a4d6013051.tar.bz2
samba-a3b1c13cd4ed2c801e6b98e04e5696a4d6013051.zip
s3:registry: make regdb_store_values() static
Signed-off-by: Andreas Schneider <asn@samba.org>
-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 ed823e4e05..7fde8a27b7 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1976,7 +1976,7 @@ static NTSTATUS regdb_store_values_action(struct db_context *db,
return status;
}
-bool regdb_store_values(const char *key, struct regval_ctr *values)
+static bool regdb_store_values(const char *key, struct regval_ctr *values)
{
WERROR werr;
struct regdb_store_values_ctx ctx;
diff --git a/source3/registry/reg_backend_db.h b/source3/registry/reg_backend_db.h
index b88835bf70..f6a6049061 100644
--- a/source3/registry/reg_backend_db.h
+++ b/source3/registry/reg_backend_db.h
@@ -32,7 +32,6 @@ WERROR regdb_transaction_start(void);
WERROR regdb_transaction_commit(void);
WERROR regdb_transaction_cancel(void);
int regdb_get_seqnum(void);
-bool regdb_store_values(const char *key, struct regval_ctr *values);
bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys);
bool regdb_values_need_update(struct regval_ctr *values);