1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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
This commit is contained in:
Volker Lendecke 2011-08-05 15:40:22 +02:00 committed by Volker Lendecke
parent 2751ed6f45
commit c73890d230

View 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");