diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:37:56 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:37:56 +0200 |
commit | 23302413b3fc9cb3695a255b1ea6883f029b46fe (patch) | |
tree | 065ce04233442328b558846d7ae8d54a8d65fffd /source4/torture | |
parent | f7692d16e3dc5e580364852c709c6c4a371dd32e (diff) | |
download | samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.gz samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.xz samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.zip |
Remove unused include param/param.h.
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/basic/scanner.c | 7 | ||||
-rw-r--r-- | source4/torture/libnet/utils.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/eas.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/lookuprate.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/mkdir.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/notify.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/offline.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/open.c | 1 | ||||
-rwxr-xr-x | source4/torture/raw/pingpong.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/read.c | 1 | ||||
-rw-r--r-- | source4/torture/raw/unlink.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/bench.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/samr.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/connect.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/create.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/getinfo.c | 2 | ||||
-rw-r--r-- | source4/torture/smb2/oplocks.c | 1 | ||||
-rw-r--r-- | source4/torture/smb2/persistent_handles.c | 1 |
19 files changed, 4 insertions, 22 deletions
diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c index 7f88662baa5..a6173e4501c 100644 --- a/source4/torture/basic/scanner.c +++ b/source4/torture/basic/scanner.c @@ -548,6 +548,7 @@ bool torture_nttrans_scan(struct torture_context *torture, { int op, level; const char *fname = "\\scanner.dat"; + struct smb_iconv_convenience *iconv_convenience = lp_iconv_convenience(torture->lp_ctx); int fnum, dnum; fnum = smbcli_open(cli->tree, fname, O_RDWR | O_CREAT | O_TRUNC, @@ -557,17 +558,17 @@ bool torture_nttrans_scan(struct torture_context *torture, for (op=OP_MIN; op<=OP_MAX; op++) { printf("Scanning op=%d\n", op); for (level = 0; level <= 50; level++) { - scan_nttrans(lp_iconv_convenience(torture->lp_ctx), + scan_nttrans(iconv_convenience, cli, op, level, fnum, dnum, fname); } for (level = 0x100; level <= 0x130; level++) { - scan_nttrans(lp_iconv_convenience(torture->lp_ctx), + scan_nttrans(iconv_convenience, cli, op, level, fnum, dnum, fname); } for (level = 1000; level < 1050; level++) { - scan_nttrans(lp_iconv_convenience(torture->lp_ctx), + scan_nttrans(iconv_convenience, cli, op, level, fnum, dnum, fname); } } diff --git a/source4/torture/libnet/utils.c b/source4/torture/libnet/utils.c index 4a55eaa56c7..54c5f2c29c1 100644 --- a/source4/torture/libnet/utils.c +++ b/source4/torture/libnet/utils.c @@ -26,7 +26,6 @@ #include "torture/rpc/rpc.h" #include "libnet/libnet.h" #include "librpc/gen_ndr/ndr_samr_c.h" -#include "param/param.h" #include "torture/libnet/utils.h" diff --git a/source4/torture/raw/eas.c b/source4/torture/raw/eas.c index bc4473b17a3..49a81dd5345 100644 --- a/source4/torture/raw/eas.c +++ b/source4/torture/raw/eas.c @@ -25,7 +25,6 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "param/param.h" #define BASEDIR "\\testeas" diff --git a/source4/torture/raw/lookuprate.c b/source4/torture/raw/lookuprate.c index 782cb1b31b7..f7ba004ae50 100644 --- a/source4/torture/raw/lookuprate.c +++ b/source4/torture/raw/lookuprate.c @@ -18,7 +18,6 @@ */ #include "includes.h" -#include "param/param.h" #include "system/filesys.h" #include "torture/smbtorture.h" #include "torture/basic/proto.h" diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c index cea959347d8..a81aacdaa40 100644 --- a/source4/torture/raw/mkdir.c +++ b/source4/torture/raw/mkdir.c @@ -23,7 +23,6 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "param/param.h" #define BASEDIR "\\mkdirtest" diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index d7541b7c713..82f7d183236 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -24,7 +24,6 @@ #include "libcli/libcli.h" #include "system/filesys.h" #include "torture/util.h" -#include "param/param.h" #define BASEDIR "\\test_notify" diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c index f2f0bf5d274..34d87f1623f 100644 --- a/source4/torture/raw/offline.c +++ b/source4/torture/raw/offline.c @@ -33,7 +33,6 @@ #include "libcli/composite/composite.h" #include "libcli/smb_composite/smb_composite.h" #include "libcli/resolve/resolve.h" -#include "param/param.h" #define BASEDIR "\\testoffline" diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c index dd5ef0d0b91..ef0fa5138a7 100644 --- a/source4/torture/raw/open.c +++ b/source4/torture/raw/open.c @@ -29,7 +29,6 @@ #include "torture/util.h" #include "auth/credentials/credentials.h" #include "lib/cmdline/popt_common.h" -#include "param/param.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/pingpong.c b/source4/torture/raw/pingpong.c index ca56f190a93..a19b330dbd2 100755 --- a/source4/torture/raw/pingpong.c +++ b/source4/torture/raw/pingpong.c @@ -50,7 +50,6 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "param/param.h" static void lock_byte(struct smbcli_state *cli, int fd, int offset, int lock_timeout) { diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c index ada9b1f4321..977ac6b8cb5 100644 --- a/source4/torture/raw/read.c +++ b/source4/torture/raw/read.c @@ -25,7 +25,6 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "param/param.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index ddddeba41be..1058a58d9d0 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -24,7 +24,6 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" -#include "param/param.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/rpc/bench.c b/source4/torture/rpc/bench.c index 2ae92332f8d..cacc1d3baa9 100644 --- a/source4/torture/rpc/bench.c +++ b/source4/torture/rpc/bench.c @@ -23,7 +23,6 @@ #include "torture/torture.h" #include "librpc/gen_ndr/ndr_srvsvc_c.h" #include "torture/rpc/rpc.h" -#include "param/param.h" /**************************/ /* srvsvc_NetShare */ diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index dabd4125c73..65a15c97e0d 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -27,7 +27,6 @@ #include "torture/rpc/rpc.h" #include "ldb/include/ldb.h" #include "libcli/security/security.h" -#include "param/param.h" static bool test_DsCrackNamesMatrix(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct DsPrivate *priv, const char *dn, diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 1f19b8ec3fb..7e9b7e119d1 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -28,7 +28,6 @@ #include "libcli/auth/libcli_auth.h" #include "libcli/security/security.h" #include "torture/rpc/rpc.h" -#include "param/param.h" #define TEST_ACCOUNT_NAME "samrtorturetest" #define TEST_ALIASNAME "samrtorturetestalias" diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c index e77e32ff7a0..01ffffa4847 100644 --- a/source4/torture/smb2/connect.c +++ b/source4/torture/smb2/connect.c @@ -25,7 +25,6 @@ #include "libcli/smb2/smb2_calls.h" #include "torture/torture.h" #include "torture/smb2/proto.h" -#include "param/param.h" /* send a close diff --git a/source4/torture/smb2/create.c b/source4/torture/smb2/create.c index 124e2441519..6d898a128cf 100644 --- a/source4/torture/smb2/create.c +++ b/source4/torture/smb2/create.c @@ -24,7 +24,6 @@ #include "libcli/smb2/smb2_calls.h" #include "torture/torture.h" #include "torture/smb2/proto.h" -#include "param/param.h" #include "librpc/gen_ndr/ndr_security.h" #include "libcli/security/security.h" diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c index 5b35d7e693a..c4ab31f4cff 100644 --- a/source4/torture/smb2/getinfo.c +++ b/source4/torture/smb2/getinfo.c @@ -26,8 +26,6 @@ #include "torture/torture.h" #include "torture/smb2/proto.h" -#include "param/param.h" - static struct { const char *name; uint16_t level; diff --git a/source4/torture/smb2/oplocks.c b/source4/torture/smb2/oplocks.c index 9a06ae1f19c..3fee0b4ab62 100644 --- a/source4/torture/smb2/oplocks.c +++ b/source4/torture/smb2/oplocks.c @@ -25,7 +25,6 @@ #include "libcli/smb2/smb2_calls.h" #include "torture/torture.h" #include "torture/smb2/proto.h" -#include "param/param.h" #define CHECK_VAL(v, correct) do { \ if ((v) != (correct)) { \ diff --git a/source4/torture/smb2/persistent_handles.c b/source4/torture/smb2/persistent_handles.c index 249ddd1733e..05c5dbbe858 100644 --- a/source4/torture/smb2/persistent_handles.c +++ b/source4/torture/smb2/persistent_handles.c @@ -25,7 +25,6 @@ #include "libcli/smb2/smb2_calls.h" #include "torture/torture.h" #include "torture/smb2/proto.h" -#include "param/param.h" #define CHECK_VAL(v, correct) do { \ if ((v) != (correct)) { \ |