From 84d004737739df28ca220f0fbc56ad43a9ae7230 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Oct 2009 14:53:08 +1100 Subject: s4-torture: ran minimal_includes.pl over source4/torture This reduces compile time somewhat. --- source4/torture/basic/aliases.c | 1 - source4/torture/basic/attr.c | 1 - source4/torture/basic/base.c | 2 -- source4/torture/basic/charset.c | 2 -- source4/torture/basic/delete.c | 2 -- source4/torture/basic/denytest.c | 4 ---- source4/torture/basic/dir.c | 1 - source4/torture/basic/disconnect.c | 1 - source4/torture/basic/locking.c | 2 -- source4/torture/basic/mangle_test.c | 1 - source4/torture/basic/misc.c | 2 -- source4/torture/basic/properties.c | 2 -- source4/torture/basic/rename.c | 1 - source4/torture/basic/scanner.c | 2 -- source4/torture/basic/secleak.c | 2 -- source4/torture/basic/unlink.c | 2 -- source4/torture/basic/utable.c | 1 - 17 files changed, 29 deletions(-) (limited to 'source4/torture/basic') diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c index 0309557acb..6d3447d772 100644 --- a/source4/torture/basic/aliases.c +++ b/source4/torture/basic/aliases.c @@ -21,7 +21,6 @@ #include "../lib/util/dlinklist.h" #include "libcli/raw/libcliraw.h" #include "libcli/raw/raw_proto.h" -#include "torture/torture.h" #include "libcli/libcli.h" #include "torture/util.h" diff --git a/source4/torture/basic/attr.c b/source4/torture/basic/attr.c index 07071bb68a..6c18e18e4e 100644 --- a/source4/torture/basic/attr.c +++ b/source4/torture/basic/attr.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "torture/torture.h" #include "libcli/libcli.h" #include "torture/util.h" diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c index 355c569bb3..2c72257845 100644 --- a/source4/torture/basic/base.c +++ b/source4/torture/basic/base.c @@ -27,9 +27,7 @@ #include "system/filesys.h" #include "system/time.h" #include "libcli/resolve/resolve.h" -#include "librpc/gen_ndr/ndr_nbt.h" #include "lib/events/events.h" -#include "lib/cmdline/popt_common.h" #include "param/param.h" diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c index 2f50376f87..3cfcadcb7a 100644 --- a/source4/torture/basic/charset.c +++ b/source4/torture/basic/charset.c @@ -20,8 +20,6 @@ */ #include "includes.h" -#include "torture/torture.h" -#include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" #include "param/param.h" diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c index c1ac62f1b1..0f7c939f5c 100644 --- a/source4/torture/basic/delete.c +++ b/source4/torture/basic/delete.c @@ -21,10 +21,8 @@ #include "includes.h" #include "libcli/libcli.h" -#include "torture/torture.h" #include "torture/util.h" #include "system/filesys.h" -#include "libcli/raw/libcliraw.h" #include "libcli/raw/raw_proto.h" #include "torture/raw/proto.h" diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c index d13ea2c745..9eceb4ca85 100644 --- a/source4/torture/basic/denytest.c +++ b/source4/torture/basic/denytest.c @@ -18,14 +18,10 @@ */ #include "includes.h" -#include "torture/torture.h" #include "system/filesys.h" -#include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "libcli/security/security.h" #include "torture/util.h" -#include "torture/smbtorture.h" -#include "libcli/util/clilsa.h" #include "cxd_known.h" extern int torture_failures; diff --git a/source4/torture/basic/dir.c b/source4/torture/basic/dir.c index 9a1ae2f744..2024f4c30c 100644 --- a/source4/torture/basic/dir.c +++ b/source4/torture/basic/dir.c @@ -21,7 +21,6 @@ #include "includes.h" #include "libcli/libcli.h" -#include "torture/torture.h" #include "torture/util.h" #include "system/filesys.h" diff --git a/source4/torture/basic/disconnect.c b/source4/torture/basic/disconnect.c index 0de0910512..7f071178f4 100644 --- a/source4/torture/basic/disconnect.c +++ b/source4/torture/basic/disconnect.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "torture/torture.h" #include "system/filesys.h" #include "libcli/raw/libcliraw.h" #include "libcli/raw/raw_proto.h" diff --git a/source4/torture/basic/locking.c b/source4/torture/basic/locking.c index 06a960bc81..8feea23534 100644 --- a/source4/torture/basic/locking.c +++ b/source4/torture/basic/locking.c @@ -21,9 +21,7 @@ */ #include "includes.h" -#include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" -#include "torture/smbtorture.h" #include "torture/util.h" #include "system/time.h" #include "system/filesys.h" diff --git a/source4/torture/basic/mangle_test.c b/source4/torture/basic/mangle_test.c index 98c53aac21..0d710f2cfe 100644 --- a/source4/torture/basic/mangle_test.c +++ b/source4/torture/basic/mangle_test.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "torture/torture.h" #include "system/filesys.h" #include "system/dir.h" #include "../tdb/include/tdb.h" diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c index f4f91c8ba3..a8ea88fb7f 100644 --- a/source4/torture/basic/misc.c +++ b/source4/torture/basic/misc.c @@ -28,8 +28,6 @@ #include "libcli/libcli.h" #include "lib/events/events.h" #include "libcli/resolve/resolve.h" -#include "auth/credentials/credentials.h" -#include "librpc/gen_ndr/ndr_nbt.h" #include "torture/smbtorture.h" #include "torture/util.h" #include "libcli/smb_composite/smb_composite.h" diff --git a/source4/torture/basic/properties.c b/source4/torture/basic/properties.c index 1825dff993..ca62466f20 100644 --- a/source4/torture/basic/properties.c +++ b/source4/torture/basic/properties.c @@ -20,8 +20,6 @@ */ #include "includes.h" -#include "torture/torture.h" -#include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" diff --git a/source4/torture/basic/rename.c b/source4/torture/basic/rename.c index 12fd5e1c99..8901c9e64f 100644 --- a/source4/torture/basic/rename.c +++ b/source4/torture/basic/rename.c @@ -21,7 +21,6 @@ #include "includes.h" #include "libcli/libcli.h" -#include "torture/torture.h" #include "torture/util.h" /* diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c index a6173e4501..37c1f43c39 100644 --- a/source4/torture/basic/scanner.c +++ b/source4/torture/basic/scanner.c @@ -18,10 +18,8 @@ */ #include "includes.h" -#include "torture/torture.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "libcli/raw/libcliraw.h" #include "libcli/raw/raw_proto.h" #include "system/filesys.h" #include "param/param.h" diff --git a/source4/torture/basic/secleak.c b/source4/torture/basic/secleak.c index 3fdd9a9bbd..363b824b66 100644 --- a/source4/torture/basic/secleak.c +++ b/source4/torture/basic/secleak.c @@ -20,14 +20,12 @@ */ #include "includes.h" -#include "torture/torture.h" #include "libcli/raw/libcliraw.h" #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" #include "system/time.h" #include "libcli/smb_composite/smb_composite.h" -#include "libcli/smb_composite/proto.h" #include "auth/credentials/credentials.h" #include "param/param.h" diff --git a/source4/torture/basic/unlink.c b/source4/torture/basic/unlink.c index 5d0e4f6964..ca32d5ff96 100644 --- a/source4/torture/basic/unlink.c +++ b/source4/torture/basic/unlink.c @@ -20,9 +20,7 @@ */ #include "includes.h" -#include "torture/torture.h" #include "system/filesys.h" -#include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" diff --git a/source4/torture/basic/utable.c b/source4/torture/basic/utable.c index ca6c2fd576..158418a284 100644 --- a/source4/torture/basic/utable.c +++ b/source4/torture/basic/utable.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "torture/torture.h" #include "system/filesys.h" #include "system/locale.h" #include "libcli/libcli.h" -- cgit