1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:registry: make regdb_subkeys_need_update() static

Signed-off-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Michael Adam 2012-04-20 14:22:27 +02:00 committed by Andreas Schneider
parent a3b1c13cd4
commit bc48100530
2 changed files with 1 additions and 2 deletions

View File

@ -2103,7 +2103,7 @@ done:
return err; 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)); return (regdb_get_seqnum() != regsubkey_ctr_get_seqnum(subkeys));
} }

View File

@ -32,7 +32,6 @@ WERROR regdb_transaction_start(void);
WERROR regdb_transaction_commit(void); WERROR regdb_transaction_commit(void);
WERROR regdb_transaction_cancel(void); WERROR regdb_transaction_cancel(void);
int regdb_get_seqnum(void); int regdb_get_seqnum(void);
bool regdb_subkeys_need_update(struct regsubkey_ctr *subkeys);
bool regdb_values_need_update(struct regval_ctr *values); bool regdb_values_need_update(struct regval_ctr *values);
#endif /* _REG_BACKEND_DB_H */ #endif /* _REG_BACKEND_DB_H */