summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/torture.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index e071a21d88..ffd884a38d 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -59,23 +59,8 @@ NTSTATUS torture_libsmbclient_init(void)
_PUBLIC_ int torture_init(void)
{
- extern NTSTATUS torture_base_init(void);
- extern NTSTATUS torture_ldap_init(void);
- extern NTSTATUS torture_local_init(void);
- extern NTSTATUS torture_nbt_init(void);
- extern NTSTATUS torture_nbench_init(void);
- extern NTSTATUS torture_rap_init(void);
- extern NTSTATUS torture_dfs_init(void);
- extern NTSTATUS torture_rpc_init(void);
- extern NTSTATUS torture_ntp_init(void);
- extern NTSTATUS torture_smb2_init(void);
- extern NTSTATUS torture_net_init(void);
- extern NTSTATUS torture_libnetapi_init(void);
- extern NTSTATUS torture_libsmbclient_init(void);
- extern NTSTATUS torture_raw_init(void);
- extern NTSTATUS torture_unix_init(void);
- extern NTSTATUS torture_winbind_init(void);
- extern NTSTATUS torture_drs_init(void);
+#define _MODULE_PROTO(init) extern NTSTATUS init(void);
+ STATIC_smbtorture_MODULES_PROTO;
init_module_fn static_init[] = { STATIC_smbtorture_MODULES };
init_module_fn *shared_init = load_samba_modules(NULL, cmdline_lp_ctx, "smbtorture");