s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter()
authorMichael Adam <obnox@samba.org>
Wed, 27 Jun 2012 06:20:31 +0000 (08:20 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 27 Jun 2012 06:18:18 +0000 (08:18 +0200)
source3/registry/reg_import.c
source3/registry/reg_import.h

index 5f99b07329e07005a94fa19da366d62897b41bbd..2ccb97ec37ce37e61b25eec66e1dd38668917b5d 100644 (file)
@@ -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;
index 5922f9d33bec83357a0ce033341a9afe097e21eb..70db4acd1bdeb9e5aab13673bff64caaf7a794fd 100644 (file)
@@ -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