summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/ntlm/auth.c2
-rw-r--r--source4/ntptr/ntptr_base.c4
-rw-r--r--source4/ntvfs/ntvfs_base.c4
-rw-r--r--source4/ntvfs/posix/pvfs_acl.c4
-rw-r--r--source4/ntvfs/sysdep/sys_lease.c2
-rw-r--r--source4/ntvfs/sysdep/sys_notify.c2
-rw-r--r--source4/param/share.c2
-rw-r--r--source4/rpc_server/dcerpc_server.c4
-rw-r--r--source4/smbd/process_model.c4
-rw-r--r--source4/smbd/server.c4
-rw-r--r--source4/torture/smbtorture.c2
-rw-r--r--source4/torture/torture.c4
12 files changed, 19 insertions, 19 deletions
diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c
index 802bc1b40f..2d51833bd9 100644
--- a/source4/auth/ntlm/auth.c
+++ b/source4/auth/ntlm/auth.c
@@ -660,7 +660,7 @@ _PUBLIC_ NTSTATUS auth4_init(void)
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_auth4_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_auth4_MODULES };
+ samba_init_module_fn static_init[] = { STATIC_auth4_MODULES };
if (initialized) return NT_STATUS_OK;
initialized = true;
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index 3fe8960602..ce335c69b0 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -73,8 +73,8 @@ 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, "ntptr");
+ samba_init_module_fn static_init[] = { STATIC_ntptr_MODULES };
+ samba_init_module_fn *shared_init = load_samba_modules(NULL, "ntptr");
run_init_functions(static_init);
run_init_functions(shared_init);
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index 8058181f89..6f0be54c29 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -230,8 +230,8 @@ NTSTATUS ntvfs_init(struct loadparm_context *lp_ctx)
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_ntvfs_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_ntvfs_MODULES };
- init_module_fn *shared_init;
+ samba_init_module_fn static_init[] = { STATIC_ntvfs_MODULES };
+ samba_init_module_fn *shared_init;
if (initialized) return NT_STATUS_OK;
initialized = true;
diff --git a/source4/ntvfs/posix/pvfs_acl.c b/source4/ntvfs/posix/pvfs_acl.c
index b253b8ab2d..57bae0a027 100644
--- a/source4/ntvfs/posix/pvfs_acl.c
+++ b/source4/ntvfs/posix/pvfs_acl.c
@@ -87,8 +87,8 @@ NTSTATUS pvfs_acl_init(void)
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_pvfs_acl_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_pvfs_acl_MODULES };
- init_module_fn *shared_init;
+ samba_init_module_fn static_init[] = { STATIC_pvfs_acl_MODULES };
+ samba_init_module_fn *shared_init;
if (initialized) return NT_STATUS_OK;
initialized = true;
diff --git a/source4/ntvfs/sysdep/sys_lease.c b/source4/ntvfs/sysdep/sys_lease.c
index 9adb898274..22fc3147b0 100644
--- a/source4/ntvfs/sysdep/sys_lease.c
+++ b/source4/ntvfs/sysdep/sys_lease.c
@@ -113,7 +113,7 @@ _PUBLIC_ NTSTATUS sys_lease_init(void)
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_sys_lease_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_sys_lease_MODULES };
+ samba_init_module_fn static_init[] = { STATIC_sys_lease_MODULES };
if (initialized) return NT_STATUS_OK;
initialized = true;
diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c
index 00300cd25a..43f11a20ee 100644
--- a/source4/ntvfs/sysdep/sys_notify.c
+++ b/source4/ntvfs/sysdep/sys_notify.c
@@ -137,7 +137,7 @@ _PUBLIC_ NTSTATUS sys_notify_init(void)
static bool initialized = false;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_sys_notify_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_sys_notify_MODULES };
+ samba_init_module_fn static_init[] = { STATIC_sys_notify_MODULES };
if (initialized) return NT_STATUS_OK;
initialized = true;
diff --git a/source4/param/share.c b/source4/param/share.c
index da0470d560..9e58bb73cc 100644
--- a/source4/param/share.c
+++ b/source4/param/share.c
@@ -149,7 +149,7 @@ NTSTATUS share_init(void)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_share_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_share_MODULES };
+ samba_init_module_fn static_init[] = { STATIC_share_MODULES };
run_init_functions(static_init);
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index a16e6ac9d5..f2fe13dd9b 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -1228,8 +1228,8 @@ void dcerpc_server_init(struct loadparm_context *lp_ctx)
static bool initialized;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_dcerpc_server_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_dcerpc_server_MODULES };
- init_module_fn *shared_init;
+ samba_init_module_fn static_init[] = { STATIC_dcerpc_server_MODULES };
+ samba_init_module_fn *shared_init;
if (initialized) {
return;
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index bbcbe3b6ac..8080787a12 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -103,8 +103,8 @@ _PUBLIC_ NTSTATUS process_model_init(struct loadparm_context *lp_ctx)
{
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_process_model_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_process_model_MODULES };
- init_module_fn *shared_init;
+ samba_init_module_fn static_init[] = { STATIC_process_model_MODULES };
+ samba_init_module_fn *shared_init;
static bool initialised;
if (initialised) {
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 86622c8be9..c6b9900c0e 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -292,8 +292,8 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
poptContext pc;
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_service_MODULES_PROTO;
- init_module_fn static_init[] = { STATIC_service_MODULES };
- init_module_fn *shared_init;
+ samba_init_module_fn static_init[] = { STATIC_service_MODULES };
+ samba_init_module_fn *shared_init;
struct tevent_context *event_ctx;
uint16_t stdin_event_flags;
NTSTATUS status;
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 934e0a7b2f..b2bd4c6749 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -602,7 +602,7 @@ int main(int argc,char *argv[])
}
if (extra_module != NULL) {
- init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL);
+ samba_init_module_fn fn = load_module(poptGetOptArg(pc), false, NULL);
if (fn == NULL)
d_printf("Unable to load module from %s\n", poptGetOptArg(pc));
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index b066d3e1ac..155a346956 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -48,8 +48,8 @@ _PUBLIC_ int torture_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, "smbtorture");
+ samba_init_module_fn static_init[] = { STATIC_smbtorture_MODULES };
+ samba_init_module_fn *shared_init = load_samba_modules(NULL, "smbtorture");
run_init_functions(static_init);
run_init_functions(shared_init);