From 28c1e4d3eb3162c0177085bae753102994a35846 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Nov 2010 15:38:37 +1100 Subject: s4-modules: get rid of the remaining static prototypes for modules the waf build now generates the prototype declarations for us --- source4/auth/ntlm/auth.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'source4/auth/ntlm') diff --git a/source4/auth/ntlm/auth.c b/source4/auth/ntlm/auth.c index 46fd8877d2..f7de0201b6 100644 --- a/source4/auth/ntlm/auth.c +++ b/source4/auth/ntlm/auth.c @@ -632,13 +632,8 @@ const struct auth_critical_sizes *auth_interface_version(void) _PUBLIC_ NTSTATUS auth_init(void) { static bool initialized = false; - extern NTSTATUS auth_developer_init(void); - extern NTSTATUS auth_winbind_init(void); - extern NTSTATUS auth_anonymous_init(void); - extern NTSTATUS auth_unix_init(void); - extern NTSTATUS auth_sam_init(void); - extern NTSTATUS auth_server_init(void); - +#define _MODULE_PROTO(init) extern NTSTATUS init(void); + STATIC_auth_MODULES_PROTO; init_module_fn static_init[] = { STATIC_auth_MODULES }; if (initialized) return NT_STATUS_OK; -- cgit