summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 23:28:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:21 -0500
commitba564a901e519b0f2cf2b7651bd260f618506b5c (patch)
treea898ee789be671abe8ca6039d90a419f3fe39149 /source4/auth/gensec
parentc389883ba2c93dfc11ac410a952f42f1065057d2 (diff)
downloadsamba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.gz
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.tar.bz2
samba-ba564a901e519b0f2cf2b7651bd260f618506b5c.zip
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default. (This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/config.mk2
-rw-r--r--source4/auth/gensec/schannel.c1
-rw-r--r--source4/auth/gensec/spnego.c1
3 files changed, 4 insertions, 0 deletions
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,