From 2a608ba856a4f28c13f295ac554e46168f3f045c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 16 Mar 2011 15:32:53 -0400 Subject: [PATCH] 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 Autobuild-Date: Wed Mar 16 23:45:20 CET 2011 on sn-devel-104 --- lib/tdr/tdr.h | 2 +- source4/rpc_server/wscript_build | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 source4/rpc_server/wscript_build 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 old mode 100644 new mode 100755 index a1d1fc56a60..f1d3c0db908 --- 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' )