From be9f1ca1c6f163bf1900e38051e412c9b85e234c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:42:52 +0100 Subject: source4/torture/basic: Fix prototypes for all functions. --- source4/torture/basic/aliases.c | 1 + source4/torture/basic/attr.c | 1 + source4/torture/basic/charset.c | 1 + source4/torture/basic/delaywrite.c | 1 + source4/torture/basic/delete.c | 1 + source4/torture/basic/denytest.c | 1 + source4/torture/basic/dir.c | 1 + source4/torture/basic/disconnect.c | 1 + source4/torture/basic/locking.c | 1 + source4/torture/basic/mangle_test.c | 1 + source4/torture/basic/misc.c | 1 + source4/torture/basic/properties.c | 1 + source4/torture/basic/rename.c | 1 + source4/torture/basic/scanner.c | 1 + source4/torture/basic/secleak.c | 1 + source4/torture/basic/unlink.c | 1 + source4/torture/basic/utable.c | 1 + 17 files changed, 17 insertions(+) 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) -- cgit