dbghelp: pe_unmap_directory() is unused so remove it.
This commit is contained in:
parent
59eef10f34
commit
ba6e4ff66e
|
@ -646,7 +646,6 @@ extern struct module*
|
|||
extern BOOL pe_load_debug_info(const struct process* pcs,
|
||||
struct module* module) DECLSPEC_HIDDEN;
|
||||
extern const char* pe_map_directory(struct module* module, int dirno, DWORD* size) DECLSPEC_HIDDEN;
|
||||
extern void pe_unmap_directoy(struct module* module, int dirno) DECLSPEC_HIDDEN;
|
||||
|
||||
/* source.c */
|
||||
extern unsigned source_new(struct module* module, const char* basedir, const char* source) DECLSPEC_HIDDEN;
|
||||
|
|
|
@ -322,16 +322,6 @@ const char* pe_map_directory(struct module* module, int dirno, DWORD* size)
|
|||
nth->OptionalHeader.DataDirectory[dirno].VirtualAddress, NULL);
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* pe_unmap_directory
|
||||
*
|
||||
* Unmaps a directory content
|
||||
*/
|
||||
void pe_unmap_directory(struct image_file_map* fmap, int dirno)
|
||||
{
|
||||
pe_unmap_full(fmap);
|
||||
}
|
||||
|
||||
static void pe_module_remove(struct process* pcs, struct module_format* modfmt)
|
||||
{
|
||||
pe_unmap_file(&modfmt->u.pe_info->fmap);
|
||||
|
|
Loading…
Reference in New Issue