summaryrefslogtreecommitdiff
path: root/source3/registry/reg_printing.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-19 23:06:12 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:37 +0100
commit15015b74906fd4ce6bab5c500946ca0aa7da0fa8 (patch)
tree43ccc7f4893c337fba85fd8133fd4ada03e9b4f2 /source3/registry/reg_printing.c
parent29af710d6acc4fe7e02313b7c878dc7301feeaea (diff)
downloadsamba-15015b74906fd4ce6bab5c500946ca0aa7da0fa8.tar.gz
samba-15015b74906fd4ce6bab5c500946ca0aa7da0fa8.tar.bz2
samba-15015b74906fd4ce6bab5c500946ca0aa7da0fa8.zip
Use c99 struct initializers for REGISTRY_OPS in reg_printing.c
Michael (This used to be commit a89bee4139666ba163385c9e7d15fbc5d623ed6f)
Diffstat (limited to 'source3/registry/reg_printing.c')
-rw-r--r--source3/registry/reg_printing.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c
index 5be0796002..a4da103d40 100644
--- a/source3/registry/reg_printing.c
+++ b/source3/registry/reg_printing.c
@@ -1262,9 +1262,8 @@ static bool regprint_store_reg_values( const char *key, REGVAL_CTR *values )
*/
REGISTRY_OPS printing_ops = {
- regprint_fetch_reg_keys,
- regprint_fetch_reg_values,
- regprint_store_reg_keys,
- regprint_store_reg_values,
- NULL, NULL, NULL, NULL, NULL
+ .fetch_subkeys = regprint_fetch_reg_keys,
+ .fetch_values = regprint_fetch_reg_values,
+ .store_subkeys = regprint_store_reg_keys,
+ .store_values = regprint_store_reg_values,
};