From c73890d23029ddff51751811df34421b0c6e82f7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Aug 2011 15:40:22 +0200 Subject: [PATCH] s3: Fix "ISO C90 forbids mixed declarations and code" Autobuild-User: Volker Lendecke Autobuild-Date: Fri Aug 5 16:58:37 CEST 2011 on sn-devel-104 --- source3/torture/pdbtest.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c index 7ce9aa84828d..65f5188cc070 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"); -- 2.34.1