From 4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 7 Mar 2006 11:07:23 +0000 Subject: r13924: Split more prototypes out of include/proto.h + initial work on header file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781) --- source4/cldap_server/cldap_server.c | 4 +++- source4/cldap_server/netlogon.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'source4/cldap_server') diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c index 7270e01a4d..f522995bc4 100644 --- a/source4/cldap_server/cldap_server.c +++ b/source4/cldap_server/cldap_server.c @@ -26,6 +26,8 @@ #include "lib/messaging/irpc.h" #include "smbd/service_task.h" #include "cldap_server/cldap_server.h" +#include "system/network.h" +#include "netif/netif.h" /* handle incoming cldap requests @@ -95,7 +97,7 @@ static NTSTATUS cldapd_add_socket(struct cldapd_server *cldapd, const char *addr /* setup our listening sockets on the configured network interfaces */ -NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd) +static NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd) { int num_interfaces = iface_count(); TALLOC_CTX *tmp_ctx = talloc_new(cldapd); diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 476b9dfed5..45a6930451 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -28,6 +28,9 @@ #include "cldap_server/cldap_server.h" #include "dsdb/samdb/samdb.h" #include "auth/auth.h" +#include "db_wrap.h" +#include "system/network.h" +#include "netif/netif.h" /* fill in the cldap netlogon union for a given version -- cgit