From d415a7f788c64eac0cab4ca80b29cc24ccc07e96 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:43:34 +0100 Subject: source4/rpc_server: Fix prototypes for all functions. --- source4/rpc_server/common/server_info.c | 2 ++ source4/rpc_server/common/share_info.c | 1 + source4/rpc_server/drsuapi/drsutil.c | 1 + source4/rpc_server/samr/samr_password.c | 1 + source4/rpc_server/service_rpc.c | 1 + source4/rpc_server/srvsvc/srvsvc_ntvfs.c | 1 + 6 files changed, 7 insertions(+) (limited to 'source4/rpc_server') diff --git a/source4/rpc_server/common/server_info.c b/source4/rpc_server/common/server_info.c index c56b93f9d0..7f533ecf77 100644 --- a/source4/rpc_server/common/server_info.c +++ b/source4/rpc_server/common/server_info.c @@ -25,6 +25,8 @@ #include "dsdb/samdb/samdb.h" #include "auth/auth.h" #include "param/param.h" +#include "rpc_server/common/common.h" +#include "rpc_server/common/share.h" /* Here are common server info functions used by some dcerpc server interfaces diff --git a/source4/rpc_server/common/share_info.c b/source4/rpc_server/common/share_info.c index 3ca5f3ab23..218901026f 100644 --- a/source4/rpc_server/common/share_info.c +++ b/source4/rpc_server/common/share_info.c @@ -23,6 +23,7 @@ #include "param/share.h" #include "librpc/gen_ndr/srvsvc.h" #include "rpc_server/dcerpc_server.h" +#include "rpc_server/common/share.h" /* Here are common server info functions used by some dcerpc server interfaces diff --git a/source4/rpc_server/drsuapi/drsutil.c b/source4/rpc_server/drsuapi/drsutil.c index 4e35aa1bd6..d3b8d23b70 100644 --- a/source4/rpc_server/drsuapi/drsutil.c +++ b/source4/rpc_server/drsuapi/drsutil.c @@ -26,6 +26,7 @@ #include "libcli/security/session.h" #include "param/param.h" #include "auth/session.h" +#include "rpc_server/drsuapi/dcesrv_drsuapi.h" int drsuapi_search_with_extended_dn(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index f2dcd05d89..3cc682906b 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -29,6 +29,7 @@ #include "auth/auth.h" #include "libcli/auth/libcli_auth.h" #include "../lib/util/util_ldb.h" +#include "rpc_server/samr/proto.h" /* samr_ChangePasswordUser diff --git a/source4/rpc_server/service_rpc.c b/source4/rpc_server/service_rpc.c index dfe25b75c6..299ee48c8e 100644 --- a/source4/rpc_server/service_rpc.c +++ b/source4/rpc_server/service_rpc.c @@ -39,6 +39,7 @@ #include "../libcli/named_pipe_auth/npa_tstream.h" #include "smbd/process_model.h" +NTSTATUS server_service_rpc_init(void); /* open the dcerpc server sockets diff --git a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c index 7a513d894a..49beb50d86 100644 --- a/source4/rpc_server/srvsvc/srvsvc_ntvfs.c +++ b/source4/rpc_server/srvsvc/srvsvc_ntvfs.c @@ -22,6 +22,7 @@ #include "ntvfs/ntvfs.h" #include "rpc_server/dcerpc_server.h" #include "param/param.h" +#include "rpc_server/srvsvc/proto.h" struct srvsvc_ntvfs_ctx { struct ntvfs_context *ntvfs; -- cgit