summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-01 15:38:37 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-01 18:55:19 +1100
commit28c1e4d3eb3162c0177085bae753102994a35846 (patch)
tree60f1b1ee601024af24723fa0170b8e5994b6e754 /source4/smbd
parent4404b4c700270c7607d7b8d792ab23ce1d080463 (diff)
downloadsamba-28c1e4d3eb3162c0177085bae753102994a35846.tar.gz
samba-28c1e4d3eb3162c0177085bae753102994a35846.tar.bz2
samba-28c1e4d3eb3162c0177085bae753102994a35846.zip
s4-modules: get rid of the remaining static prototypes for modules
the waf build now generates the prototype declarations for us
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/server.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 56c64f3da0..29deb85921 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -285,23 +285,8 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
bool opt_interactive = false;
int opt;
poptContext pc;
- 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_kcc_init(void);
- extern NTSTATUS server_service_dnsupdate_init(void);
- extern NTSTATUS server_service_dns_init(void);
- extern NTSTATUS server_service_rpc_init(void);
- extern NTSTATUS server_service_ntp_signd_init(void);
- extern NTSTATUS server_service_samba3_smb_init(void);
+#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;
struct tevent_context *event_ctx;