summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-30 23:18:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:06 -0500
commit046a54f96394fe49226ab2b48fdeb7c07937ea57 (patch)
tree248af554e418e3f676cfeb3f21419e9b0e86c01a /source4/librpc
parent6ebe31dc1b26167a55b3dbe2eb229af3453c1479 (diff)
downloadsamba-046a54f96394fe49226ab2b48fdeb7c07937ea57.tar.gz
samba-046a54f96394fe49226ab2b48fdeb7c07937ea57.tar.bz2
samba-046a54f96394fe49226ab2b48fdeb7c07937ea57.zip
r12622: Move table.c prototypes to seperate header to prevent circular dependencies
with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk1
-rw-r--r--source4/librpc/rpc/table.c1
-rw-r--r--source4/librpc/tables.pl1
3 files changed, 3 insertions, 0 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 03367bdf17..dc40b69271 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -304,6 +304,7 @@ librpc/gen_ndr/tables.c: librpc/gen_ndr/ndr_*.h
[SUBSYSTEM::NDR_ALL]
OBJ_FILES = rpc/table.o gen_ndr/tables.o
+PRIVATE_PROTO_HEADER = rpc/dcerpc_table.h
REQUIRED_SUBSYSTEMS = NDR_AUDIOSRV NDR_ECHO NDR_DCERPC NDR_EXCHANGE \
NDR_DSBACKUP NDR_EFS NDR_MISC NDR_LSA NDR_DFS NDR_DRSUAPI \
NDR_POLICYAGENT NDR_UNIXINFO NDR_SAMR NDR_SPOOLSS NDR_WKSSVC NDR_SRVSVC NDR_ATSVC \
diff --git a/source4/librpc/rpc/table.c b/source4/librpc/rpc/table.c
index 9b5cf8ff80..14600a779f 100644
--- a/source4/librpc/rpc/table.c
+++ b/source4/librpc/rpc/table.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "dlinklist.h"
+#include "librpc/rpc/dcerpc_table.h"
struct dcerpc_interface_list *dcerpc_pipes = NULL;
diff --git a/source4/librpc/tables.pl b/source4/librpc/tables.pl
index 7ef1dbd14a..462ef19e08 100644
--- a/source4/librpc/tables.pl
+++ b/source4/librpc/tables.pl
@@ -74,6 +74,7 @@ print TABLEC <<EOF;
/* Automatically generated by tables.pl. DO NOT EDIT */
#include "includes.h"
+#include "librpc/rpc/dcerpc_table.h"
EOF
process_file($_) foreach (@ARGV);