summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-08-05 15:40:22 +0200
committerVolker Lendecke <vlendec@samba.org>2011-08-05 16:58:37 +0200
commitc73890d23029ddff51751811df34421b0c6e82f7 (patch)
tree19c053974db28a566ab6edd4f83ca37e3d454a44 /source3
parent2751ed6f454ef2ce8a41c1ce483d4a20e094d4ff (diff)
downloadsamba-c73890d23029ddff51751811df34421b0c6e82f7.tar.gz
samba-c73890d23029ddff51751811df34421b0c6e82f7.tar.bz2
samba-c73890d23029ddff51751811df34421b0c6e82f7.zip
s3: Fix "ISO C90 forbids mixed declarations and code"
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/pdbtest.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index 7ce9aa8482..65f5188cc0 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -255,6 +255,13 @@ int main(int argc, char **argv)
POPT_TABLEEND
};
+ /* test trustdom calls */
+ struct pdb_trusted_domain *td;
+ struct pdb_trusted_domain *new_td;
+ struct trustAuthInOutBlob taiob;
+ struct AuthenticationInformation aia;
+ enum ndr_err_code ndr_err;
+
load_case_tables();
pc = poptGetContext("pdbtest", argc, (const char **) argv,
@@ -374,13 +381,6 @@ int main(int argc, char **argv)
get_friendly_nt_error_msg(rv));
}
- /* test trustdom calls */
- struct pdb_trusted_domain *td;
- struct pdb_trusted_domain *new_td;
- struct trustAuthInOutBlob taiob;
- struct AuthenticationInformation aia;
- enum ndr_err_code ndr_err;
-
td = talloc_zero(ctx ,struct pdb_trusted_domain);
if (!td) {
fprintf(stderr, "talloc failed\n");