summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:42:52 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:04 +0100
commitbe9f1ca1c6f163bf1900e38051e412c9b85e234c (patch)
treeced83a3955211eb0b4549547eecc1d638b463c79
parent6dfd88ab0ac73bc966e7fe0eac0b7b34585c17df (diff)
downloadsamba-be9f1ca1c6f163bf1900e38051e412c9b85e234c.tar.gz
samba-be9f1ca1c6f163bf1900e38051e412c9b85e234c.tar.bz2
samba-be9f1ca1c6f163bf1900e38051e412c9b85e234c.zip
source4/torture/basic: Fix prototypes for all functions.
-rw-r--r--source4/torture/basic/aliases.c1
-rw-r--r--source4/torture/basic/attr.c1
-rw-r--r--source4/torture/basic/charset.c1
-rw-r--r--source4/torture/basic/delaywrite.c1
-rw-r--r--source4/torture/basic/delete.c1
-rw-r--r--source4/torture/basic/denytest.c1
-rw-r--r--source4/torture/basic/dir.c1
-rw-r--r--source4/torture/basic/disconnect.c1
-rw-r--r--source4/torture/basic/locking.c1
-rw-r--r--source4/torture/basic/mangle_test.c1
-rw-r--r--source4/torture/basic/misc.c1
-rw-r--r--source4/torture/basic/properties.c1
-rw-r--r--source4/torture/basic/rename.c1
-rw-r--r--source4/torture/basic/scanner.c1
-rw-r--r--source4/torture/basic/secleak.c1
-rw-r--r--source4/torture/basic/unlink.c1
-rw-r--r--source4/torture/basic/utable.c1
17 files changed, 17 insertions, 0 deletions
diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c
index 88dedaa541..2d1d411c2d 100644
--- a/source4/torture/basic/aliases.c
+++ b/source4/torture/basic/aliases.c
@@ -23,6 +23,7 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname);
diff --git a/source4/torture/basic/attr.c b/source4/torture/basic/attr.c
index 784ed37b5f..09d1ae2968 100644
--- a/source4/torture/basic/attr.c
+++ b/source4/torture/basic/attr.c
@@ -24,6 +24,7 @@
#include "torture/util.h"
#include "system/filesys.h"
#include "libcli/security/secace.h"
+#include "torture/basic/proto.h"
extern int torture_failures;
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index bdac2de18b..e09297ecaa 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -23,6 +23,7 @@
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
+#include "torture/basic/proto.h"
#define BASEDIR "\\chartest\\"
diff --git a/source4/torture/basic/delaywrite.c b/source4/torture/basic/delaywrite.c
index 97968fb0b8..8a1dc1ba9d 100644
--- a/source4/torture/basic/delaywrite.c
+++ b/source4/torture/basic/delaywrite.c
@@ -29,6 +29,7 @@
#include "system/filesys.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
#define W2K8R2_TIMEDELAY_SECS 1
#define W2K3_TIMEDELAY_SECS 2
diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c
index 888c5a6b46..deeeec8057 100644
--- a/source4/torture/basic/delete.c
+++ b/source4/torture/basic/delete.c
@@ -26,6 +26,7 @@
#include "libcli/raw/raw_proto.h"
#include "torture/raw/proto.h"
+#include "torture/basic/proto.h"
static bool check_delete_on_close(struct torture_context *tctx,
struct smbcli_state *cli, int fnum,
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c
index 7480c388ae..2e21c83fad 100644
--- a/source4/torture/basic/denytest.c
+++ b/source4/torture/basic/denytest.c
@@ -23,6 +23,7 @@
#include "libcli/security/security.h"
#include "torture/util.h"
#include "cxd_known.h"
+#include "torture/basic/proto.h"
extern int torture_failures;
diff --git a/source4/torture/basic/dir.c b/source4/torture/basic/dir.c
index 2024f4c30c..774730ac1f 100644
--- a/source4/torture/basic/dir.c
+++ b/source4/torture/basic/dir.c
@@ -23,6 +23,7 @@
#include "libcli/libcli.h"
#include "torture/util.h"
#include "system/filesys.h"
+#include "torture/basic/proto.h"
static void list_fn(struct clilist_file_info *finfo, const char *name, void *state)
{
diff --git a/source4/torture/basic/disconnect.c b/source4/torture/basic/disconnect.c
index 2cfa72048e..71471c7f0a 100644
--- a/source4/torture/basic/disconnect.c
+++ b/source4/torture/basic/disconnect.c
@@ -25,6 +25,7 @@
#include "libcli/raw/raw_proto.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
#define BASEDIR "\\test_disconnect"
diff --git a/source4/torture/basic/locking.c b/source4/torture/basic/locking.c
index 86cba4e852..5cd6937b77 100644
--- a/source4/torture/basic/locking.c
+++ b/source4/torture/basic/locking.c
@@ -25,6 +25,7 @@
#include "torture/util.h"
#include "system/time.h"
#include "system/filesys.h"
+#include "torture/basic/proto.h"
#define BASEDIR "\\locktest"
diff --git a/source4/torture/basic/mangle_test.c b/source4/torture/basic/mangle_test.c
index 1305634460..0b7d696e67 100644
--- a/source4/torture/basic/mangle_test.c
+++ b/source4/torture/basic/mangle_test.c
@@ -24,6 +24,7 @@
#include "../lib/util/util_tdb.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
static TDB_CONTEXT *tdb;
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index c5902374eb..5fbbc61e0f 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -33,6 +33,7 @@
#include "libcli/smb_composite/smb_composite.h"
#include "libcli/composite/composite.h"
#include "param/param.h"
+#include "torture/basic/proto.h"
extern struct cli_credentials *cmdline_credentials;
diff --git a/source4/torture/basic/properties.c b/source4/torture/basic/properties.c
index ca62466f20..b63acc76cf 100644
--- a/source4/torture/basic/properties.c
+++ b/source4/torture/basic/properties.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
struct bitmapping {
const char *name;
diff --git a/source4/torture/basic/rename.c b/source4/torture/basic/rename.c
index 8901c9e64f..a80dd6e495 100644
--- a/source4/torture/basic/rename.c
+++ b/source4/torture/basic/rename.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
/*
Test rename on files open with share delete and no share delete.
diff --git a/source4/torture/basic/scanner.c b/source4/torture/basic/scanner.c
index a4d8674db9..fa073b4283 100644
--- a/source4/torture/basic/scanner.c
+++ b/source4/torture/basic/scanner.c
@@ -23,6 +23,7 @@
#include "libcli/raw/raw_proto.h"
#include "system/filesys.h"
#include "param/param.h"
+#include "torture/basic/proto.h"
#define VERBOSE 0
#define OP_MIN 0
diff --git a/source4/torture/basic/secleak.c b/source4/torture/basic/secleak.c
index 4c73df1a0f..9db9f54e84 100644
--- a/source4/torture/basic/secleak.c
+++ b/source4/torture/basic/secleak.c
@@ -28,6 +28,7 @@
#include "libcli/smb_composite/smb_composite.h"
#include "auth/credentials/credentials.h"
#include "param/param.h"
+#include "torture/basic/proto.h"
static bool try_failed_login(struct torture_context *tctx, struct smbcli_state *cli)
{
diff --git a/source4/torture/basic/unlink.c b/source4/torture/basic/unlink.c
index 45ef1c5c63..dee71bd7af 100644
--- a/source4/torture/basic/unlink.c
+++ b/source4/torture/basic/unlink.c
@@ -23,6 +23,7 @@
#include "system/filesys.h"
#include "libcli/libcli.h"
#include "torture/util.h"
+#include "torture/basic/proto.h"
#define BASEDIR "\\unlinktest"
diff --git a/source4/torture/basic/utable.c b/source4/torture/basic/utable.c
index 682bc0963e..ffa25650de 100644
--- a/source4/torture/basic/utable.c
+++ b/source4/torture/basic/utable.c
@@ -23,6 +23,7 @@
#include "libcli/libcli.h"
#include "torture/util.h"
#include "param/param.h"
+#include "torture/basic/proto.h"
bool torture_utable(struct torture_context *tctx,
struct smbcli_state *cli)