summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:45:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commitfc720be5a2a178ea9b85cac9a9f8649158e96121 (patch)
treed91affebcbd3f05cc11d2fb65c17388533da1666 /source4/torture
parent7e039c7dda275d91933d19ef8c8a08b0005255b4 (diff)
downloadsamba-fc720be5a2a178ea9b85cac9a9f8649158e96121.tar.gz
samba-fc720be5a2a178ea9b85cac9a9f8649158e96121.tar.bz2
samba-fc720be5a2a178ea9b85cac9a9f8649158e96121.zip
source4/torture: Fix prototypes for all functions.
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/auth/ntlmssp.c1
-rw-r--r--source4/torture/auth/pac.c1
-rw-r--r--source4/torture/drs/drs_util.c1
-rw-r--r--source4/torture/drs/unit/schemainfo_tests.c2
-rw-r--r--source4/torture/smb2/util.c1
-rw-r--r--source4/torture/util_smb.c1
-rw-r--r--source4/torture/winbind/struct_based.c1
7 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/auth/ntlmssp.c b/source4/torture/auth/ntlmssp.c
index db8651c0a5..93529eeb1d 100644
--- a/source4/torture/auth/ntlmssp.c
+++ b/source4/torture/auth/ntlmssp.c
@@ -23,6 +23,7 @@
#include "lib/cmdline/popt_common.h"
#include "torture/torture.h"
#include "param/param.h"
+#include "torture/auth/proto.h"
static bool torture_ntlmssp_self_check(struct torture_context *tctx)
{
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c
index 5c547d71bc..4a306131cc 100644
--- a/source4/torture/auth/pac.c
+++ b/source4/torture/auth/pac.c
@@ -30,6 +30,7 @@
#include "auth/auth_sam_reply.h"
#include "param/param.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
+#include "torture/auth/proto.h"
static bool torture_pac_self_check(struct torture_context *tctx)
{
diff --git a/source4/torture/drs/drs_util.c b/source4/torture/drs/drs_util.c
index d2d3e3a949..8773745760 100644
--- a/source4/torture/drs/drs_util.c
+++ b/source4/torture/drs/drs_util.c
@@ -24,6 +24,7 @@
#include "dsdb/samdb/samdb.h"
#include "torture/rpc/drsuapi.h"
#include "../lib/util/asn1.h"
+#include "torture/drs/proto.h"
/**
* Decode Attribute OID based on MS documentation
diff --git a/source4/torture/drs/unit/schemainfo_tests.c b/source4/torture/drs/unit/schemainfo_tests.c
index 95469d9130..2fb5308f74 100644
--- a/source4/torture/drs/unit/schemainfo_tests.c
+++ b/source4/torture/drs/unit/schemainfo_tests.c
@@ -29,6 +29,8 @@
#include "torture/rpc/drsuapi.h"
#include "librpc/ndr/libndr.h"
#include "param/param.h"
+#include "torture/drs/proto.h"
+#include "torture/drs/proto.h"
/**
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 8feb96857d..54aea81e0b 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -30,6 +30,7 @@
#include "libcli/resolve/resolve.h"
#include "torture/torture.h"
+#include "torture/smb2/proto.h"
/*
diff --git a/source4/torture/util_smb.c b/source4/torture/util_smb.c
index df2716f316..7a480b6fed 100644
--- a/source4/torture/util_smb.c
+++ b/source4/torture/util_smb.c
@@ -34,6 +34,7 @@
#include "param/param.h"
#include "libcli/security/security.h"
#include "libcli/util/clilsa.h"
+#include "torture/util.h"
/**
diff --git a/source4/torture/winbind/struct_based.c b/source4/torture/winbind/struct_based.c
index e15c3b5bd8..aeb81c972c 100644
--- a/source4/torture/winbind/struct_based.c
+++ b/source4/torture/winbind/struct_based.c
@@ -25,6 +25,7 @@
#include "librpc/gen_ndr/netlogon.h"
#include "param/param.h"
#include "../libcli/auth/pam_errors.h"
+#include "torture/winbind/proto.h"
#define DO_STRUCT_REQ_REP_EXT(op,req,rep,expected,strict,warnaction,cmt) do { \
NSS_STATUS __got, __expected = (expected); \