summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth.c2
-rw-r--r--source4/auth/gensec/gensec.c2
-rw-r--r--source4/lib/com/main.c2
-rw-r--r--source4/lib/registry/common/reg_interface.c2
-rw-r--r--source4/ntvfs/ntvfs_base.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index 695e3bf6e8..8ca7c3ea5c 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -335,7 +335,7 @@ const struct auth_critical_sizes *auth_interface_version(void)
NTSTATUS server_service_auth_init(void)
{
- init_module_fn static_init[] = STATIC_AUTH_MODULES;
+ init_module_fn static_init[] = STATIC_auth_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "auth");
run_init_functions(static_init);
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 1962ea6b2e..7797cd254f 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -1121,7 +1121,7 @@ NTSTATUS gensec_init(void)
{
static BOOL initialized = False;
- init_module_fn static_init[] = STATIC_GENSEC_MODULES;
+ init_module_fn static_init[] = STATIC_gensec_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "gensec");
if (initialized) return NT_STATUS_OK;
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index ab14f28b28..3e4127f246 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -94,7 +94,7 @@ NTSTATUS com_init(void)
{
static BOOL initialized = False;
- init_module_fn static_init[] = STATIC_COM_MODULES;
+ init_module_fn static_init[] = STATIC_com_MODULES;
init_module_fn *shared_init;
if (initialized) return NT_STATUS_OK;
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 676d9ec3b3..7af0616ce0 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -73,7 +73,7 @@ static struct reg_init_function_entry *reg_find_backend_entry(const char *name)
/** Initialize the registry subsystem */
_PUBLIC_ NTSTATUS registry_init(void)
{
- init_module_fn static_init[] = STATIC_REGISTRY_MODULES;
+ init_module_fn static_init[] = STATIC_registry_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "registry");
run_init_functions(static_init);
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index cfd2c1f5de..1201bdefbe 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -163,7 +163,7 @@ NTSTATUS ntvfs_init_connection(struct smbsrv_request *req, enum ntvfs_type type)
NTSTATUS ntvfs_init(void)
{
- init_module_fn static_init[] = STATIC_NTVFS_MODULES;
+ init_module_fn static_init[] = STATIC_ntvfs_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "ntvfs");
run_init_functions(static_init);