From ba564a901e519b0f2cf2b7651bd260f618506b5c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 23:28:18 +0000 Subject: r13903: Don't generate prototypes for modules and binaries in include/proto.h by default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4) --- source4/auth/config.mk | 1 + source4/auth/gensec/config.mk | 2 ++ source4/auth/gensec/schannel.c | 1 + source4/auth/gensec/spnego.c | 1 + source4/auth/ntlmssp/config.mk | 3 ++- 5 files changed, 7 insertions(+), 1 deletion(-) (limited to 'source4/auth') diff --git a/source4/auth/config.mk b/source4/auth/config.mk index d8fc9a8ddf..9c14528572 100644 --- a/source4/auth/config.mk +++ b/source4/auth/config.mk @@ -9,6 +9,7 @@ include credentials/config.mk [MODULE::auth_sam] INIT_FUNCTION = auth_sam_init SUBSYSTEM = AUTH +NOPROTO = NO OBJ_FILES = \ auth_sam.o REQUIRED_SUBSYSTEMS = \ diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk index 0ba5a5e282..17e22123ab 100644 --- a/source4/auth/gensec/config.mk +++ b/source4/auth/gensec/config.mk @@ -38,6 +38,7 @@ REQUIRED_SUBSYSTEMS = KERBEROS AUTH [MODULE::gensec_spnego] SUBSYSTEM = GENSEC INIT_FUNCTION = gensec_spnego_init +PRIVATE_PROTO_HEADER = spnego_proto.h OBJ_FILES = spnego.o \ spnego_parse.o # End MODULE gensec_spnego @@ -47,6 +48,7 @@ OBJ_FILES = spnego.o \ # Start MODULE gensec_schannel [MODULE::gensec_schannel] SUBSYSTEM = GENSEC +PRIVATE_PROTO_HEADER = schannel_proto.h INIT_FUNCTION = gensec_schannel_init OBJ_FILES = schannel.o \ schannel_sign.o diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c index 10c8f9853a..0409b17c4d 100644 --- a/source4/auth/gensec/schannel.c +++ b/source4/auth/gensec/schannel.c @@ -25,6 +25,7 @@ #include "librpc/gen_ndr/ndr_schannel.h" #include "auth/auth.h" #include "auth/gensec/schannel.h" +#include "auth/gensec/schannel_proto.h" static size_t schannel_sig_size(struct gensec_security *gensec_security, size_t data_size) { diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c index 32b4ff96be..9d97e3d709 100644 --- a/source4/auth/gensec/spnego.c +++ b/source4/auth/gensec/spnego.c @@ -24,6 +24,7 @@ #include "includes.h" #include "auth/auth.h" +#include "auth/gensec/spnego_proto.h" enum spnego_state_position { SPNEGO_SERVER_START, diff --git a/source4/auth/ntlmssp/config.mk b/source4/auth/ntlmssp/config.mk index d10c98c838..32b917e4ce 100644 --- a/source4/auth/ntlmssp/config.mk +++ b/source4/auth/ntlmssp/config.mk @@ -2,11 +2,12 @@ # Start MODULE gensec_ntlmssp [MODULE::gensec_ntlmssp] SUBSYSTEM = GENSEC +NOPROTO = NO INIT_FUNCTION = gensec_ntlmssp_init OBJ_FILES = ntlmssp.o \ - ntlmssp_parse.o \ ntlmssp_sign.o \ ntlmssp_client.o \ + ntlmssp_parse.o \ ntlmssp_server.o REQUIRED_SUBSYSTEMS = AUTH # End MODULE gensec_ntlmssp -- cgit