summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-27 08:20:31 +0200
committerMichael Adam <obnox@samba.org>2012-06-27 08:18:18 +0200
commit7bc1172c5f36619fad2acd5a863054b472a036e8 (patch)
tree17c8113d69a6895c49316183bda0b8ee35ee3134
parentc4be17f804a857630b4c5f9d0aad70b508e56e2e (diff)
downloadsamba-7bc1172c5f36619fad2acd5a863054b472a036e8.tar.gz
samba-7bc1172c5f36619fad2acd5a863054b472a036e8.tar.bz2
samba-7bc1172c5f36619fad2acd5a863054b472a036e8.zip
s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter()
-rw-r--r--source3/registry/reg_import.c2
-rw-r--r--source3/registry/reg_import.h2
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