diff options
author | Michael Adam <obnox@samba.org> | 2008-01-19 23:09:38 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-20 02:03:38 +0100 |
commit | cb1e0de56f180fa6da82908a73610daecd19b9d7 (patch) | |
tree | b0cc3d93b546735e1903a804ba8eec679ff9fc25 | |
parent | 15015b74906fd4ce6bab5c500946ca0aa7da0fa8 (diff) | |
download | samba-cb1e0de56f180fa6da82908a73610daecd19b9d7.tar.gz samba-cb1e0de56f180fa6da82908a73610daecd19b9d7.tar.bz2 samba-cb1e0de56f180fa6da82908a73610daecd19b9d7.zip |
Use c99 struct initializers for REGISTRY_OPS in reg_shares.c
Michael
(This used to be commit 2c4dfd7aaa3c3b384b547451f914a86f59157928)
-rw-r--r-- | source3/registry/reg_shares.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/registry/reg_shares.c b/source3/registry/reg_shares.c index 4ac6e1d151..ee9e5dc5a1 100644 --- a/source3/registry/reg_shares.c +++ b/source3/registry/reg_shares.c @@ -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, }; |