summaryrefslogtreecommitdiffstats
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 11:54:50 +0200
commitf78bc8c489b02b521e9ecbdbdc72d160c6911b6b (patch)
treeb2704525b5bb213190dd67f70362b2b775b639f0 /source4/auth
parent60a6682c855cbe5094433881649e7ed4945a06e7 (diff)
downloadsamba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.gz
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.tar.xz
samba-f78bc8c489b02b521e9ecbdbdc72d160c6911b6b.zip
Remove prototypes from build.h in preparation of removing build.h
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth.c5
-rw-r--r--source4/auth/gensec/gensec.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index af3796a70d..6c86cf2d7c 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -516,6 +516,11 @@ 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);
init_module_fn static_init[] = { STATIC_auth_MODULES };
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 59c19b96ab..59ad15740e 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -1268,6 +1268,12 @@ static int sort_gensec(struct gensec_security_ops **gs1, struct gensec_security_
_PUBLIC_ NTSTATUS gensec_init(struct loadparm_context *lp_ctx)
{
static bool initialized = false;
+ extern NTSTATUS gensec_sasl_init(void);
+ extern NTSTATUS gensec_krb5_init(void);
+ extern NTSTATUS gensec_schannel_init(void);
+ extern NTSTATUS gensec_spnego_init(void);
+ extern NTSTATUS gensec_gssapi_init(void);
+ extern NTSTATUS gensec_ntlmssp_init(void);
init_module_fn static_init[] = { STATIC_gensec_MODULES };
init_module_fn *shared_init;