From 306783d6f5d577a0b8bd31d659d8c802f22f0333 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 20 Apr 2017 12:24:43 -0700 Subject: lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not currently used - no logic changes inside. This will make it possible to pass down a long-lived talloc context from the loading function for modules to use instead of having them internally all use talloc_autofree_context() which is a hidden global. Updated all known module interface numbers, and added a WHATSNEW. Signed-off-by: Jeremy Allison Signed-off-by: Ralph Böhme Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144 --- source4/torture/rpc/rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c index 4c9f75f05d4..12dcced1e2a 100644 --- a/source4/torture/rpc/rpc.c +++ b/source4/torture/rpc/rpc.c @@ -482,7 +482,7 @@ _PUBLIC_ struct torture_test *torture_rpc_tcase_add_test_ex( return test; } -NTSTATUS torture_rpc_init(void) +NTSTATUS torture_rpc_init(TALLOC_CTX *ctx) { struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "rpc"); -- cgit v1.2.1