summaryrefslogtreecommitdiff
path: root/source3/registry/reg_backend_perflib.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-03-23 18:14:17 +0100
committerMichael Adam <obnox@samba.org>2009-04-27 11:21:02 +0200
commit221151a2a2c30e5c82b100161b498fdbbc1d4382 (patch)
treed4346a16206b3308ff20b026012aa095e99d778a /source3/registry/reg_backend_perflib.c
parent38d02c5d857ecea3405c3f48e64906764329f1a1 (diff)
downloadsamba-221151a2a2c30e5c82b100161b498fdbbc1d4382.tar.gz
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
Diffstat (limited to 'source3/registry/reg_backend_perflib.c')
-rw-r--r--source3/registry/reg_backend_perflib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_backend_perflib.c b/source3/registry/reg_backend_perflib.c
index e23c87efe8b..3a098f3ba89 100644
--- a/source3/registry/reg_backend_perflib.c
+++ b/source3/registry/reg_backend_perflib.c
@@ -34,7 +34,7 @@ extern REGISTRY_OPS regdb_ops;
#define KEY_PERFLIB_NORM "HKLM/SOFTWARE/MICROSOFT/WINDOWS NT/CURRENTVERSION/PERFLIB"
#define KEY_PERFLIB_009_NORM "HKLM/SOFTWARE/MICROSOFT/WINDOWS NT/CURRENTVERSION/PERFLIB/009"
-static int perflib_params( REGVAL_CTR *regvals )
+static int perflib_params(struct regval_ctr *regvals)
{
int base_index = -1;
int last_counter = -1;
@@ -52,7 +52,7 @@ static int perflib_params( REGVAL_CTR *regvals )
return regval_ctr_numvals( regvals );
}
-static int perflib_009_params( REGVAL_CTR *regvals )
+static int perflib_009_params(struct regval_ctr *regvals)
{
int base_index;
int buffer_size;
@@ -71,7 +71,7 @@ static int perflib_009_params( REGVAL_CTR *regvals )
return regval_ctr_numvals( regvals );
}
-static int perflib_fetch_values(const char *key, REGVAL_CTR *regvals)
+static int perflib_fetch_values(const char *key, struct regval_ctr *regvals)
{
char *path = NULL;
TALLOC_CTX *ctx = talloc_tos();