summaryrefslogtreecommitdiff
path: root/source4/rpc_server
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/rpc_server
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/rpc_server')
-rw-r--r--source4/rpc_server/config.mk1
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c1
-rw-r--r--source4/rpc_server/samr/dcesrv_samr.c1
-rw-r--r--source4/rpc_server/samr/samr_password.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/config.mk b/source4/rpc_server/config.mk
index 73f61602bd..13b5a4d1f5 100644
--- a/source4/rpc_server/config.mk
+++ b/source4/rpc_server/config.mk
@@ -103,6 +103,7 @@ REQUIRED_SUBSYSTEMS = \
# Start MODULE dcerpc_samr
[MODULE::dcerpc_samr]
INIT_FUNCTION = dcerpc_server_samr_init
+PRIVATE_PROTO_HEADER = samr/proto.h
SUBSYSTEM = DCERPC_SERVER
OBJ_FILES = \
samr/dcesrv_samr.o \
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index d506d9192d..1b13548c6b 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -27,6 +27,7 @@
#include "lib/ldb/include/ldb.h"
#include "auth/auth.h"
#include "dsdb/samdb/samdb.h"
+#include "rpc_server/samr/proto.h"
struct server_pipe_state {
struct netr_Credential client_challenge;
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c
index e9787eb041..6c109ff0c2 100644
--- a/source4/rpc_server/samr/dcesrv_samr.c
+++ b/source4/rpc_server/samr/dcesrv_samr.c
@@ -32,6 +32,7 @@
#include "ads.h"
#include "dsdb/samdb/samdb.h"
#include "libcli/ldap/ldap.h"
+#include "rpc_server/samr/proto.h"
/*
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c
index cc0f0aa3b7..998005cb0e 100644
--- a/source4/rpc_server/samr/samr_password.c
+++ b/source4/rpc_server/samr/samr_password.c
@@ -31,6 +31,7 @@
#include "libcli/ldap/ldap.h"
#include "dsdb/samdb/samdb.h"
#include "auth/auth.h"
+#include "rpc_server/samr/proto.h"
/*
samr_ChangePasswordUser