moved declarations
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3539 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/dyngen.c b/dyngen.c
index f136e02..562fd0d 100644
--- a/dyngen.c
+++ b/dyngen.c
@@ -701,6 +701,8 @@
uint32_t *n_strtab;
EXE_SYM *sym;
EXE_RELOC *rel;
+ const char *p;
+ int aux_size, j;
fd = open(filename, O_RDONLY
#ifdef _WIN32
@@ -727,7 +729,6 @@
sdata = malloc(sizeof(void *) * fhdr.f_nscns);
memset(sdata, 0, sizeof(void *) * fhdr.f_nscns);
- const char *p;
for(i = 0;i < fhdr.f_nscns; i++) {
sec = &shdr[i];
if (!strstart(sec->s_name, ".bss", &p))
@@ -771,7 +772,6 @@
/* set coff symbol */
symtab = malloc(sizeof(struct coff_sym) * nb_syms);
- int aux_size, j;
for (i = 0, ext_sym = coff_symtab, sym = symtab; i < nb_syms; i++, ext_sym++, sym++) {
memset(sym, 0, sizeof(*sym));
sym->st_syment = ext_sym;