summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.c4
-rw-r--r--source4/smbd/server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index 710246cf8b..e43e9146d8 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;
- samba_init_module_fn static_init[] = { STATIC_process_model_MODULES };
- samba_init_module_fn *shared_init;
+ samba_module_init_fn static_init[] = { STATIC_process_model_MODULES };
+ samba_module_init_fn *shared_init;
static bool initialised;
if (initialised) {
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 1da472155d..abc662de79 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;
- samba_init_module_fn static_init[] = { STATIC_service_MODULES };
- samba_init_module_fn *shared_init;
+ samba_module_init_fn static_init[] = { STATIC_service_MODULES };
+ samba_module_init_fn *shared_init;
struct tevent_context *event_ctx;
uint16_t stdin_event_flags;
NTSTATUS status;