summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-04-20 14:22:27 +0200
committerAndreas Schneider <asn@samba.org>2012-04-25 14:23:05 +0200
commitbc48100530c7438bc2efc61e73afe31841c298c4 (patch)
tree2cdf239a45b411906717032c6650d4f17265ab7a
parenta3b1c13cd4ed2c801e6b98e04e5696a4d6013051 (diff)
downloadsamba-bc48100530c7438bc2efc61e73afe31841c298c4.tar.gz
samba-bc48100530c7438bc2efc61e73afe31841c298c4.tar.xz
samba-bc48100530c7438bc2efc61e73afe31841c298c4.zip
s3:registry: make regdb_subkeys_need_update() 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 7fde8a27b79..543d3f2112c 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -2103,7 +2103,7 @@ done:
return err;
}
-bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys)
+static bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys)
{
return (regdb_get_seqnum() != regsubkey_ctr_get_seqnum(subkeys));
}
diff --git a/source3/registry/reg_backend_db.h b/source3/registry/reg_backend_db.h
index f6a6049061f..e07d8fe9453 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_subkeys_need_update(struct regsubkey_ctr *subkeys);
bool regdb_values_need_update(struct regval_ctr *values);
#endif /* _REG_BACKEND_DB_H */