summaryrefslogtreecommitdiff
path: root/source3/registry
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 /source3/registry
parentc4be17f804a857630b4c5f9d0aad70b508e56e2e (diff)
downloadsamba-7bc1172c5f36619fad2acd5a863054b472a036e8.tar.gz
s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter()
Diffstat (limited to 'source3/registry')
-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 5f99b07329e..2ccb97ec37c 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 5922f9d33be..70db4acd1bd 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