From 046a54f96394fe49226ab2b48fdeb7c07937ea57 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 30 Dec 2005 23:18:27 +0000 Subject: r12622: Move table.c prototypes to seperate header to prevent circular dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13) --- source4/librpc/config.mk | 1 + source4/librpc/rpc/table.c | 1 + source4/librpc/tables.pl | 1 + 3 files changed, 3 insertions(+) (limited to 'source4/librpc') 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 <