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

Use c99 struct initializers for REGISTRY_OPS in reg_shares.c

Michael
(This used to be commit 2c4dfd7aaa)
This commit is contained in:
Michael Adam 2008-01-19 23:09:38 +01:00
parent 15015b7490
commit cb1e0de56f

View File

@ -155,11 +155,10 @@ static bool shares_store_value( const char *key, REGVAL_CTR *val )
*/
REGISTRY_OPS shares_reg_ops = {
shares_subkey_info,
shares_value_info,
shares_store_subkey,
shares_store_value,
NULL, NULL, NULL, NULL, NULL
.fetch_subkeys = shares_subkey_info,
.fetch_values = shares_value_info,
.store_subkeys = shares_store_subkey,
.store_values = shares_store_value,
};