s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.
[gd/samba-autobuild/.git] / source3 / utils / net_rpc_registry.c
index cad605fdde4fe7fb73f9b6e5a607cdcd58f1548b..168a654ac3dd04347eef27f6ff592de2313f9696 100644 (file)
@@ -970,7 +970,7 @@ static bool write_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk,
                                 const char *parentpath )
 {
        REGF_NK_REC *key, *subkey;
-       REGVAL_CTR *values = NULL;
+       struct regval_ctr *values = NULL;
        struct regsubkey_ctr *subkeys = NULL;
        int i;
        char *path = NULL;
@@ -983,13 +983,13 @@ static bool write_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk,
                return false;
        }
 
-       if ( !(values = TALLOC_ZERO_P( subkeys, REGVAL_CTR )) ) {
+       if ( !(values = TALLOC_ZERO_P( subkeys, struct regval_ctr )) ) {
                DEBUG(0,("write_registry_tree: talloc() failed!\n"));
                TALLOC_FREE(subkeys);
                return false;
        }
 
-       /* copy values into the REGVAL_CTR */
+       /* copy values into the struct regval_ctr */
 
        for ( i=0; i<nk->num_values; i++ ) {
                regval_ctr_addvalue( values, nk->values[i].valuename, nk->values[i].type,