summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-03-16 15:32:53 -0400
committerSimo Sorce <idra@samba.org>2011-03-16 23:45:20 +0100
commit2a608ba856a4f28c13f295ac554e46168f3f045c (patch)
tree8567665771f290291b8f0d4ff8286b7b8a3b8f88
parentab37eae79c564ee903ca85c2d997093e17b1de98 (diff)
downloadsamba-2a608ba856a4f28c13f295ac554e46168f3f045c.tar.gz
dcerpc: we do not need these as public headers
latest openchange doesn't need these headers either fix _PRINTF_ATTRIBUTE in tdr.h, as it was failing to work after removing proto.h due to side effects. PRINTF_ATTRIBUTE is ok and is define in talloc.h which is included by tdr.h Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104
-rw-r--r--lib/tdr/tdr.h2
-rwxr-xr-x[-rw-r--r--]source4/rpc_server/wscript_build2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/tdr/tdr.h b/lib/tdr/tdr.h
index cd4785e63c1..fa0a4d7a77a 100644
--- a/lib/tdr/tdr.h
+++ b/lib/tdr/tdr.h
@@ -95,6 +95,6 @@ struct tdr_push *tdr_push_init(TALLOC_CTX *mem_ctx);
struct tdr_pull *tdr_pull_init(TALLOC_CTX *mem_ctx);
NTSTATUS tdr_push_to_fd(int fd, tdr_push_fn_t push_fn, const void *p);
-void tdr_print_debug_helper(struct tdr_print *tdr, const char *format, ...) _PRINTF_ATTRIBUTE(2,3);
+void tdr_print_debug_helper(struct tdr_print *tdr, const char *format, ...) PRINTF_ATTRIBUTE(2,3);
#endif /* __TDR_H__ */
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index a1d1fc56a60..f1d3c0db908 100644..100755
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -9,8 +9,6 @@ bld.SAMBA_SUBSYSTEM('DCERPC_SHARE',
bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
source='common/forward.c common/reply.c dcesrv_auth.c',
autoproto='common/proto.h',
- public_headers='common/common.h common/proto.h',
- header_path='dcerpc_server',
deps='ldb DCERPC_SHARE samba_server_gensec'
)