summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-19 23:01:58 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 02:03:37 +0100
commit29af710d6acc4fe7e02313b7c878dc7301feeaea (patch)
tree7396ab14d7da192ae1473573b5c0f2a5a09ebb81 /source3/registry
parent014bfd35f8c57370b27a1d07c335e2d9813a1333 (diff)
downloadsamba-29af710d6acc4fe7e02313b7c878dc7301feeaea.tar.gz
samba-29af710d6acc4fe7e02313b7c878dc7301feeaea.tar.bz2
samba-29af710d6acc4fe7e02313b7c878dc7301feeaea.zip
Use c99 struct initializers for REGISTRY_OPS in reg_smbconf.c.
Michael (This used to be commit 96d116b003c1187869cbdbc21274a0b5cb1bf7d6)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_smbconf.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/source3/registry/reg_smbconf.c b/source3/registry/reg_smbconf.c
index 8dfb745a7e..a6e478200f 100644
--- a/source3/registry/reg_smbconf.c
+++ b/source3/registry/reg_smbconf.c
@@ -265,13 +265,11 @@ static WERROR smbconf_set_secdesc(const char *key,
*/
REGISTRY_OPS smbconf_reg_ops = {
- smbconf_fetch_keys,
- smbconf_fetch_values,
- smbconf_store_keys,
- smbconf_store_values,
- smbconf_reg_access_check,
- smbconf_get_secdesc,
- smbconf_set_secdesc,
- NULL,
- NULL
+ .fetch_subkeys = smbconf_fetch_keys,
+ .fetch_values = smbconf_fetch_values,
+ .store_subkeys = smbconf_store_keys,
+ .store_values = smbconf_store_values,
+ .reg_access_check = smbconf_reg_access_check,
+ .get_secdesc = smbconf_get_secdesc,
+ .set_secdesc = smbconf_set_secdesc,
};