summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-07 11:07:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:24 -0500
commit4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb (patch)
tree1d810fa37a23a91d9405b686bd8b86befe2b1f9a /source4/smbd
parent45c92c9cf08210e1d5792e2d8db93912727c3dba (diff)
downloadsamba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.tar.gz
samba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.tar.bz2
samba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.zip
r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.h2
-rw-r--r--source4/smbd/process_model.mk1
-rw-r--r--source4/smbd/server.c1
-rw-r--r--source4/smbd/service.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/source4/smbd/process_model.h b/source4/smbd/process_model.h
index 2575adeccb..4080d2d4b6 100644
--- a/source4/smbd/process_model.h
+++ b/source4/smbd/process_model.h
@@ -61,3 +61,5 @@ struct process_model_critical_sizes {
int interface_version;
int sizeof_model_ops;
};
+
+#include "smbd/process_model_proto.h"
diff --git a/source4/smbd/process_model.mk b/source4/smbd/process_model.mk
index b8f960215a..22083a7a87 100644
--- a/source4/smbd/process_model.mk
+++ b/source4/smbd/process_model.mk
@@ -34,6 +34,7 @@ REQUIRED_SUBSYSTEMS = EXT_LIB_PTHREAD
################################################
# Start SUBSYSTEM PROCESS_MODEL
[SUBSYSTEM::PROCESS_MODEL]
+PRIVATE_PROTO_HEADER = process_model_proto.h
OBJ_FILES = \
process_model.o
#
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 1daf346a2d..9c45da302d 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -34,6 +34,7 @@
#include "ntvfs/ntvfs.h"
#include "ntptr/ntptr.h"
#include "auth/gensec/gensec.h"
+#include "smbd/process_model.h"
/*
recursively delete a directory tree
diff --git a/source4/smbd/service.c b/source4/smbd/service.c
index 2057fc811a..5bced4eae4 100644
--- a/source4/smbd/service.c
+++ b/source4/smbd/service.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "dlinklist.h"
+#include "smbd/process_model.h"
/*
a linked list of registered servers