s3: Fix "ISO C90 forbids mixed declarations and code"
authorVolker Lendecke <vl@samba.org>
Fri, 5 Aug 2011 13:40:22 +0000 (15:40 +0200)
committerVolker Lendecke <vlendec@samba.org>
Fri, 5 Aug 2011 14:58:37 +0000 (16:58 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Aug  5 16:58:37 CEST 2011 on sn-devel-104

source3/torture/pdbtest.c

index 7ce9aa84828de2e6cf1c74306aee7e31095cd7a0..65f5188cc070993501c4bcca1b2512f64dcbbaed 100644 (file)
@@ -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");