git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15015b7
)
Use c99 struct initializers for REGISTRY_OPS in reg_shares.c
author
Michael Adam
<obnox@samba.org>
Sat, 19 Jan 2008 22:09:38 +0000
(23:09 +0100)
committer
Michael Adam
<obnox@samba.org>
Sun, 20 Jan 2008 01:03:38 +0000
(
02:03
+0100)
Michael
(This used to be commit
2c4dfd7aaa3c3b384b547451f914a86f59157928
)
source3/registry/reg_shares.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_shares.c
b/source3/registry/reg_shares.c
index 4ac6e1d1514bef7bb7126174cc8a4ab4c351825f..ee9e5dc5a1848e675e34c1bcc85795567f3ad3d7 100644
(file)
--- 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,
};