summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-20 14:53:08 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-20 16:04:46 +1100
commit84d004737739df28ca220f0fbc56ad43a9ae7230 (patch)
treecca27814f6168825826bb5c9cb50a43cdaa4ca9c /source4/torture/raw
parent8585cf1a78c3352ef6a0d3b3f32f9aacc28b609c (diff)
downloadsamba-84d004737739df28ca220f0fbc56ad43a9ae7230.tar.gz
samba-84d004737739df28ca220f0fbc56ad43a9ae7230.tar.bz2
samba-84d004737739df28ca220f0fbc56ad43a9ae7230.zip
s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/chkpath.c2
-rw-r--r--source4/torture/raw/context.c3
-rw-r--r--source4/torture/raw/ioctl.c1
-rw-r--r--source4/torture/raw/lockbench.c1
-rw-r--r--source4/torture/raw/lookuprate.c3
-rw-r--r--source4/torture/raw/mkdir.c2
-rw-r--r--source4/torture/raw/mux.c1
-rw-r--r--source4/torture/raw/notify.c1
-rw-r--r--source4/torture/raw/offline.c4
-rw-r--r--source4/torture/raw/open.c5
-rw-r--r--source4/torture/raw/oplock.c5
-rw-r--r--[-rwxr-xr-x]source4/torture/raw/pingpong.c2
-rw-r--r--source4/torture/raw/qfileinfo.c3
-rw-r--r--source4/torture/raw/qfsinfo.c2
-rw-r--r--source4/torture/raw/read.c2
-rw-r--r--source4/torture/raw/rename.c2
-rw-r--r--source4/torture/raw/samba3hide.c2
-rw-r--r--source4/torture/raw/search.c1
-rw-r--r--source4/torture/raw/seek.c2
-rw-r--r--source4/torture/raw/setfileinfo.c3
-rw-r--r--source4/torture/raw/write.c2
21 files changed, 0 insertions, 49 deletions
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c
index a39993489b..433525b7cc 100644
--- a/source4/torture/raw/chkpath.c
+++ b/source4/torture/raw/chkpath.c
@@ -19,9 +19,7 @@
#include "includes.h"
#include "system/locale.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
-#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index 0e0851e741..1335b7d461 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -18,13 +18,10 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
-#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
#include "lib/cmdline/popt_common.h"
-#include "lib/events/events.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "auth/credentials/credentials.h"
diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c
index 4cb366f807..87fbfaaab6 100644
--- a/source4/torture/raw/ioctl.c
+++ b/source4/torture/raw/ioctl.c
@@ -19,7 +19,6 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/ioctl.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c
index c7f99aeb3c..a3fe03370f 100644
--- a/source4/torture/raw/lockbench.c
+++ b/source4/torture/raw/lockbench.c
@@ -20,7 +20,6 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "system/time.h"
diff --git a/source4/torture/raw/lookuprate.c b/source4/torture/raw/lookuprate.c
index e4caf7b1be..e26c5b0b89 100644
--- a/source4/torture/raw/lookuprate.c
+++ b/source4/torture/raw/lookuprate.c
@@ -20,11 +20,8 @@
#include "includes.h"
#include "system/filesys.h"
#include "torture/smbtorture.h"
-#include "torture/basic/proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
-#include "lib/cmdline/popt_common.h"
-#include "auth/credentials/credentials.h"
#define BASEDIR "\\lookuprate"
#define MISSINGNAME BASEDIR "\\foo"
diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c
index a81aacdaa4..c109ee7cf7 100644
--- a/source4/torture/raw/mkdir.c
+++ b/source4/torture/raw/mkdir.c
@@ -18,9 +18,7 @@
*/
#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"
diff --git a/source4/torture/raw/mux.c b/source4/torture/raw/mux.c
index 19cb4ce422..b0764ff69c 100644
--- a/source4/torture/raw/mux.c
+++ b/source4/torture/raw/mux.c
@@ -18,7 +18,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/raw/notify.c b/source4/torture/raw/notify.c
index 8be7e06dff..257cf9daf6 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -18,7 +18,6 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c
index 5322f471a2..de72c88b5c 100644
--- a/source4/torture/raw/offline.c
+++ b/source4/torture/raw/offline.c
@@ -22,17 +22,13 @@
*/
#include "includes.h"
-#include "torture/torture.h"
-#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#include "system/filesys.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "lib/events/events.h"
-#include "lib/cmdline/popt_common.h"
#include "libcli/composite/composite.h"
#include "libcli/smb_composite/smb_composite.h"
-#include "libcli/resolve/resolve.h"
#define BASEDIR "\\testoffline"
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 73f9c3f839..adec6a99da 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -18,17 +18,12 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
-#include "libcli/raw/raw_proto.h"
#include "system/time.h"
#include "system/filesys.h"
-#include "librpc/gen_ndr/security.h"
#include "lib/events/events.h"
#include "libcli/libcli.h"
#include "torture/util.h"
-#include "auth/credentials/credentials.h"
-#include "lib/cmdline/popt_common.h"
/* enum for whether reads/writes are possible on a file */
enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR};
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index 1b9d8e95c9..63f5ee5f28 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -18,13 +18,8 @@
*/
#include "includes.h"
-#include "torture/torture.h"
-#include "torture/smbtorture.h"
-#include "librpc/gen_ndr/security.h"
-#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/raw/libcliraw.h"
#include "libcli/raw/raw_proto.h"
-#include "libcli/security/security.h"
#include "libcli/libcli.h"
#include "torture/util.h"
#include "lib/events/events.h"
diff --git a/source4/torture/raw/pingpong.c b/source4/torture/raw/pingpong.c
index a19b330dbd..f620c4854d 100755..100644
--- a/source4/torture/raw/pingpong.c
+++ b/source4/torture/raw/pingpong.c
@@ -44,8 +44,6 @@
*/
#include "includes.h"
-#include "torture/torture.h"
-#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#include "system/filesys.h"
#include "libcli/libcli.h"
diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c
index c7673be526..d21d1dc776 100644
--- a/source4/torture/raw/qfileinfo.c
+++ b/source4/torture/raw/qfileinfo.c
@@ -19,14 +19,11 @@
*/
#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 "librpc/rpc/dcerpc.h"
#include "torture/rpc/rpc.h"
-#include "torture/raw/proto.h"
#include "param/param.h"
static struct {
diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c
index c1c77edba9..e4492a5312 100644
--- a/source4/torture/raw/qfsinfo.c
+++ b/source4/torture/raw/qfsinfo.c
@@ -18,8 +18,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/raw/read.c b/source4/torture/raw/read.c
index ea1fc125a7..3b48aac848 100644
--- a/source4/torture/raw/read.c
+++ b/source4/torture/raw/read.c
@@ -18,9 +18,7 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
-#include "libcli/raw/raw_proto.h"
#include "system/time.h"
#include "system/filesys.h"
#include "libcli/libcli.h"
diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c
index cf04769764..28def7bd85 100644
--- a/source4/torture/raw/rename.c
+++ b/source4/torture/raw/rename.c
@@ -18,8 +18,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/raw/samba3hide.c b/source4/torture/raw/samba3hide.c
index 1f1501045c..4f9e2ecf8f 100644
--- a/source4/torture/raw/samba3hide.c
+++ b/source4/torture/raw/samba3hide.c
@@ -18,8 +18,6 @@
*/
#include "includes.h"
-#include "torture/torture.h"
-#include "libcli/raw/libcliraw.h"
#include "system/time.h"
#include "system/filesys.h"
#include "libcli/libcli.h"
diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c
index 8a3168dcc4..3aee7fbdfe 100644
--- a/source4/torture/raw/search.c
+++ b/source4/torture/raw/search.c
@@ -18,7 +18,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/raw/seek.c b/source4/torture/raw/seek.c
index 3ba022feef..458a45308f 100644
--- a/source4/torture/raw/seek.c
+++ b/source4/torture/raw/seek.c
@@ -18,9 +18,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/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index 10eaa6710d..31c753300c 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -18,13 +18,10 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "system/time.h"
#include "libcli/raw/libcliraw.h"
-#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
-#include "torture/raw/proto.h"
#define BASEDIR "\\testsfileinfo"
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c
index 5d3628ca86..cd1b078dbf 100644
--- a/source4/torture/raw/write.c
+++ b/source4/torture/raw/write.c
@@ -19,9 +19,7 @@
*/
#include "includes.h"
-#include "torture/torture.h"
#include "libcli/raw/libcliraw.h"
-#include "libcli/raw/raw_proto.h"
#include "system/time.h"
#include "system/filesys.h"
#include "libcli/libcli.h"