summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-08 17:02:40 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-08 17:02:40 +0100
commitfb6fdfce37a91021c346a52bd7d55a5ee576580a (patch)
treed57686ebd5a3217a83560e6f7c38d30d511203e7 /source4/smbd
parent2bf39edc9d0abf3306bd25b9c40d88aceb029be7 (diff)
downloadsamba-fb6fdfce37a91021c346a52bd7d55a5ee576580a.tar.gz
samba-fb6fdfce37a91021c346a52bd7d55a5ee576580a.tar.bz2
samba-fb6fdfce37a91021c346a52bd7d55a5ee576580a.zip
Fix the build.
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.c3
-rw-r--r--source4/smbd/server.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/source4/smbd/process_model.c b/source4/smbd/process_model.c
index 22918368bf..e267995596 100644
--- a/source4/smbd/process_model.c
+++ b/source4/smbd/process_model.c
@@ -81,6 +81,9 @@ _PUBLIC_ NTSTATUS register_process_model(const void *_ops)
NTSTATUS process_model_init(struct loadparm_context *lp_ctx)
{
+ extern NTSTATUS process_model_standard_init(void);
+ extern NTSTATUS process_model_prefork_init(void);
+ extern NTSTATUS process_model_single_init(void);
init_module_fn static_init[] = { STATIC_process_model_MODULES };
init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "process_model");
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 2d0ceb9b91..ded84f2426 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -186,7 +186,19 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
bool opt_interactive = false;
int opt;
poptContext pc;
- init_module_fn static_init[] = { STATIC_service_MODULES };
+ extern NTSTATUS server_service_wrepl_init(void);
+ extern NTSTATUS server_service_kdc_init(void);
+ extern NTSTATUS server_service_ldap_init(void);
+ extern NTSTATUS server_service_web_init(void);
+ extern NTSTATUS server_service_ldap_init(void);
+ extern NTSTATUS server_service_winbind_init(void);
+ extern NTSTATUS server_service_nbtd_init(void);
+ extern NTSTATUS server_service_auth_init(void);
+ extern NTSTATUS server_service_cldapd_init(void);
+ extern NTSTATUS server_service_smb_init(void);
+ extern NTSTATUS server_service_drepl_init(void);
+ extern NTSTATUS server_service_rpc_init(void);
+ init_module_fn static_init[] = { STATIC_smbd_MODULES };
init_module_fn *shared_init;
struct event_context *event_ctx;
NTSTATUS status;