From a254e81ba98c02298391d016c608093fb0748a44 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 21 Dec 2000 19:14:54 +0000 Subject: [PATCH] Oops. committer: mfx 977426094 +0000 --- src/packmast.cpp | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/src/packmast.cpp b/src/packmast.cpp index 2747f6c0..1b5afdb5 100644 --- a/src/packmast.cpp +++ b/src/packmast.cpp @@ -219,42 +219,6 @@ static Packer *getPacker(InputFile *f) } -static Packer *getUnpacker(InputFile *f) -{ -#if 0 - if (opt->unix.script_name) - { - if ((p = func(new PackLinuxI386sep(f),f)) != NULL) - return p; - } -#endif - if ((p = func(new PackLinuxI386elf(f),f)) != NULL) - return p; - if ((p = func(new PackLinuxI386sh(f),f)) != NULL) - return p; - if ((p = func(new PackLinuxI386(f),f)) != NULL) - return p; - - // - // .sys and .com - // - if ((p = func(new PackSys(f),f)) != NULL) - return p; - if ((p = func(new PackCom(f),f)) != NULL) - return p; - return NULL; -} - - -static Packer *getPacker(InputFile *f) -{ - Packer *p = try_packers(f, try_pack); - if (!p) - throwUnknownExecutableFormat(); - return p; -} - - static Packer *getUnpacker(InputFile *f) { Packer *p = try_packers(f, try_unpack);