Small cleanups to keep p_armpe & p_w32pe in sync.

This commit is contained in:
Markus F.X.J. Oberhumer 2006-05-24 19:21:26 +02:00
parent f914cb6858
commit b7785b64cf
2 changed files with 6 additions and 6 deletions

View File

@ -35,6 +35,7 @@
static const
#include "stub/l_armpea.h"
static const
#include "stub/l_armpet.h"
#define IDSIZE(x) ih.ddirs[x].size
@ -245,6 +246,7 @@ void PackArmPe::createLinker(const void *pdata, int plen, int pinfo)
linker = new ArmLinker(pdata, plen, pinfo);
}
/*************************************************************************
// util
**************************************************************************/
@ -1218,11 +1220,10 @@ public:
bool clear();
void dump() const { dump(root,0); }
unsigned iname() const {return current->parent->id;}
unsigned iname() const {return current->parent->id;}
const upx_byte *nname() const {return current->parent->name;}
/*
unsigned ilang() const {return current->id;}
unsigned ilang() const {return current->id;}
const upx_byte *nlang() const {return current->name;}
*/
};

View File

@ -1178,11 +1178,10 @@ public:
bool clear();
void dump() const { dump(root,0); }
unsigned iname() const {return current->parent->id;}
unsigned iname() const {return current->parent->id;}
const upx_byte *nname() const {return current->parent->name;}
/*
unsigned ilang() const {return current->id;}
unsigned ilang() const {return current->id;}
const upx_byte *nlang() const {return current->name;}
*/
};