From 7bc1172c5f36619fad2acd5a863054b472a036e8 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 27 Jun 2012 08:20:31 +0200 Subject: s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter() --- source3/registry/reg_import.c | 2 +- source3/registry/reg_import.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/registry/reg_import.c b/source3/registry/reg_import.c index 5f99b07329..2ccb97ec37 100644 --- a/source3/registry/reg_import.c +++ b/source3/registry/reg_import.c @@ -231,7 +231,7 @@ static int nop(void* data) } -struct reg_parse_callback* reg_import_adapter(const void* talloc_ctx, +struct reg_parse_callback *reg_import_adapter(TALLOC_CTX *talloc_ctx, struct reg_import_callback cb) { struct reg_parse_callback* ret; diff --git a/source3/registry/reg_import.h b/source3/registry/reg_import.h index 5922f9d33b..70db4acd1b 100644 --- a/source3/registry/reg_import.h +++ b/source3/registry/reg_import.h @@ -194,6 +194,6 @@ struct reg_import_callback { * * @return a talloc'ed reg_import object, NULL on error */ -struct reg_parse_callback* reg_import_adapter(const void* talloc_ctx, +struct reg_parse_callback* reg_import_adapter(TALLOC_CTX *talloc_ctx, struct reg_import_callback cb); #endif -- cgit