src: add a check for libc qsort(); cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-09-01 11:59:29 +02:00
parent 3c4b959f78
commit 0ac6c36af2
11 changed files with 89 additions and 44 deletions
+2 -2
View File
@@ -91,7 +91,7 @@ PackMaster::~PackMaster() noexcept {
//
**************************************************************************/
static tribool try_can_pack(PackerBase *pb, void *user) may_throw {
static noinline tribool try_can_pack(PackerBase *pb, void *user) may_throw {
InputFile *f = (InputFile *) user;
try {
pb->initPackHeader();
@@ -111,7 +111,7 @@ static tribool try_can_pack(PackerBase *pb, void *user) may_throw {
return false;
}
static tribool try_can_unpack(PackerBase *pb, void *user) may_throw {
static noinline tribool try_can_unpack(PackerBase *pb, void *user) may_throw {
InputFile *f = (InputFile *) user;
try {
pb->initPackHeader();