summaryrefslogtreecommitdiff
path: root/source4/ntptr
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-06 14:58:28 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-06 17:37:51 +1000
commit907cdb5de7f16a2540299aeba211bf2a5ae6fafe (patch)
treeeccc984eb3fd073eb49478ff47163dfdf10d7a29 /source4/ntptr
parentf67a14976bd6ccdacd319df872e6add994f0e0f3 (diff)
downloadsamba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.tar.gz
samba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.tar.bz2
samba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.zip
s4-modules Remove lp_ctx from init functions that no longer need it
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
Diffstat (limited to 'source4/ntptr')
-rw-r--r--source4/ntptr/ntptr_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index 268e84b127..42e7b10d4a 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -68,12 +68,12 @@ NTSTATUS ntptr_register(const void *_ops)
return NT_STATUS_OK;
}
-NTSTATUS ntptr_init(struct loadparm_context *lp_ctx)
+NTSTATUS ntptr_init(void)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_ntptr_MODULES_PROTO;
init_module_fn static_init[] = { STATIC_ntptr_MODULES };
- init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "ntptr");
+ init_module_fn *shared_init = load_samba_modules(NULL, "ntptr");
run_init_functions(static_init);
run_init_functions(shared_init);