Removed bogus __attribute_packed from struct udll.

committer: mfx <mfx> 1142607440 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2006-03-17 14:57:20 +00:00
parent d5c0533b74
commit 2680aabe06
2 changed files with 2 additions and 8 deletions

View File

@ -566,7 +566,6 @@ unsigned PackArmPe::processImports() // pass 1
LE32 *lookupt;
unsigned npos;
bool isk32;
unsigned _; // padding to 32
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
{
@ -582,9 +581,7 @@ unsigned PackArmPe::processImports() // pass 1
if (!u2->shname) return -1;
return strlen(u1->shname) - strlen(u2->shname);
}
}
__attribute_packed;
COMPILE_TIME_ASSERT(sizeof(udll) == 32);
};
// +1 for dllnum=0
Array(struct udll, dlls, dllnum+1);

View File

@ -575,7 +575,6 @@ unsigned PackW32Pe::processImports() // pass 1
LE32 *lookupt;
unsigned npos;
bool isk32;
unsigned _; // padding to 32
static int __acc_cdecl_qsort compare(const void *p1, const void *p2)
{
@ -591,9 +590,7 @@ unsigned PackW32Pe::processImports() // pass 1
if (!u2->shname) return -1;
return strlen(u1->shname) - strlen(u2->shname);
}
}
__attribute_packed;
COMPILE_TIME_ASSERT(sizeof(udll) == 32);
};
// +1 for dllnum=0
Array(struct udll, dlls, dllnum+1);