diff options
author | Günther Deschner <gd@samba.org> | 2010-05-05 01:39:16 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-06 00:22:59 +0200 |
commit | c6ebab846d25563d051b1a1248ea288ba7eb0bcb (patch) | |
tree | be093beb5dec7460403520dac6cef6205cfc1bb9 /source3/include/proto.h | |
parent | d6a6362752b7a46178e80d36e4c3d69658d4f273 (diff) | |
download | samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.gz samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.tar.bz2 samba-c6ebab846d25563d051b1a1248ea288ba7eb0bcb.zip |
s3: only include gen_ndr headers where needed.
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index eae3d283d9..9c169ed11c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2107,27 +2107,9 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx, uint32_t flags); -#include "librpc/gen_ndr/ndr_dfs.h" -#include "librpc/gen_ndr/ndr_dssetup.h" -#include "librpc/gen_ndr/ndr_echo.h" #include "librpc/gen_ndr/ndr_eventlog.h" #include "librpc/gen_ndr/ndr_krb5pac.h" -#include "librpc/gen_ndr/ndr_lsa.h" -#include "librpc/gen_ndr/ndr_misc.h" -#include "librpc/gen_ndr/ndr_netlogon.h" -#include "librpc/gen_ndr/ndr_notify.h" -#include "librpc/gen_ndr/ndr_ntsvcs.h" -#include "librpc/gen_ndr/ndr_samr.h" -#include "librpc/gen_ndr/ndr_security.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" -#include "librpc/gen_ndr/ndr_svcctl.h" -#include "librpc/gen_ndr/ndr_winreg.h" -#include "librpc/gen_ndr/ndr_wkssvc.h" -#include "librpc/gen_ndr/ndr_drsuapi.h" #include "librpc/gen_ndr/ndr_spoolss.h" -#include "librpc/gen_ndr/ndr_initshutdown.h" - -#include "librpc/ndr/libndr.h" /* The following definitions come from librpc/ndr/util.c */ |