diff options
author | Michael Adam <obnox@samba.org> | 2012-04-20 14:23:44 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-25 14:23:05 +0200 |
commit | 877af95ed714452bc1ea58c0aad113f599fcc787 (patch) | |
tree | a8e46d18f7809da1c76c8aabd2ec4bf722d3710e /source3/registry | |
parent | bc48100530c7438bc2efc61e73afe31841c298c4 (diff) | |
download | samba-877af95ed714452bc1ea58c0aad113f599fcc787.tar.gz samba-877af95ed714452bc1ea58c0aad113f599fcc787.tar.bz2 samba-877af95ed714452bc1ea58c0aad113f599fcc787.zip |
s3:registry: make regdb_values_need_update() static
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 2 | ||||
-rw-r--r-- | source3/registry/reg_backend_db.h | 1 |
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 */ |