From e82aad1ce39a6b7a2e51b9e2cb494d74ec70e158 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Feb 2005 05:09:35 +0000 Subject: r5298: - got rid of pstring.h from includes.h. This at least makes it a bit less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f) --- source4/torture/raw/acls.c | 3 ++- source4/torture/raw/lock.c | 1 + source4/torture/raw/mux.c | 1 + source4/torture/raw/open.c | 1 + source4/torture/raw/read.c | 1 + source4/torture/raw/search.c | 1 + source4/torture/raw/seek.c | 1 + source4/torture/raw/streams.c | 1 + source4/torture/raw/unlink.c | 1 + source4/torture/raw/write.c | 1 + 10 files changed, 11 insertions(+), 1 deletion(-) (limited to 'source4/torture/raw') diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index fd1ea0f340..f6a51a8d91 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "libcli/raw/libcliraw.h" #include "librpc/gen_ndr/ndr_security.h" @@ -843,7 +844,7 @@ static BOOL test_owner_bits(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) expected_bits = SEC_FILE_WRITE_DATA | SEC_FILE_READ_ATTRIBUTE; for (i=0;i<16;i++) { - uint32 bit = (1<tree, mem_ctx, &io); if (expected_bits & bit) { diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index f2cd5b7cf7..97242e8f17 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -21,6 +21,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "system/time.h" +#include "system/filesys.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/mux.c b/source4/torture/raw/mux.c index e8f7e4a712..379e455b2b 100644 --- a/source4/torture/raw/mux.c +++ b/source4/torture/raw/mux.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "libcli/raw/libcliraw.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c index 17a7f18505..8792ab7cab 100644 --- a/source4/torture/raw/open.c +++ b/source4/torture/raw/open.c @@ -21,6 +21,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "system/time.h" +#include "system/filesys.h" #include "librpc/gen_ndr/ndr_security.h" /* enum for whether reads/writes are possible on a file */ diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c index e8e305d01c..3e27f4b0bb 100644 --- a/source4/torture/raw/read.c +++ b/source4/torture/raw/read.c @@ -21,6 +21,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "system/time.h" +#include "system/filesys.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index be54aecb3d..0f04648672 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #include "libcli/raw/libcliraw.h" diff --git a/source4/torture/raw/seek.c b/source4/torture/raw/seek.c index 0d34c831a5..9652b7597f 100644 --- a/source4/torture/raw/seek.c +++ b/source4/torture/raw/seek.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c index 54c83de896..6753234af4 100644 --- a/source4/torture/raw/streams.c +++ b/source4/torture/raw/streams.c @@ -23,6 +23,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "librpc/gen_ndr/ndr_security.h" +#include "system/filesys.h" #define BASEDIR "\\teststreams" diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index 1c8c35d72f..5874da6ef7 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "system/filesys.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index 7241f8c91a..dead0e4971 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -22,6 +22,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "system/time.h" +#include "system/filesys.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ -- cgit