From 221151a2a2c30e5c82b100161b498fdbbc1d4382 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 23 Mar 2009 18:14:17 +0100 Subject: s3:registry: replace typedef REGVAL_CTR by struct regval_ctr. This paves the way for hiding the typedef and the implementation from the surface. Michael --- source3/utils/profiles.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils/profiles.c') diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index 0ac93dedeb..0dc9aca876 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -117,7 +117,7 @@ static bool copy_registry_tree( REGF_FILE *infile, REGF_NK_REC *nk, { REGF_NK_REC *key, *subkey; SEC_DESC *new_sd; - REGVAL_CTR *values; + struct regval_ctr *values; struct regsubkey_ctr *subkeys; int i; char *path; @@ -139,13 +139,13 @@ static bool copy_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 )) ) { TALLOC_FREE( subkeys ); DEBUG(0,("copy_registry_tree: talloc() failure!\n")); return False; } - /* copy values into the REGVAL_CTR */ + /* copy values into the struct regval_ctr */ for ( i=0; inum_values; i++ ) { regval_ctr_addvalue( values, nk->values[i].valuename, nk->values[i].type, -- cgit