Francois Gouget : dbghelp: pe_unmap_directory() is unused so remove it.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 16 10:34:23 CDT 2015


Module: wine
Branch: master
Commit: ba6e4ff66eebb14d783b53d1537501ac2914035e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ba6e4ff66eebb14d783b53d1537501ac2914035e

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Mar 13 20:04:15 2015 +0100

dbghelp: pe_unmap_directory() is unused so remove it.

---

 dlls/dbghelp/dbghelp_private.h |  1 -
 dlls/dbghelp/pe_module.c       | 10 ----------
 2 files changed, 11 deletions(-)

diff --git a/dlls/dbghelp/dbghelp_private.h b/dlls/dbghelp/dbghelp_private.h
index 74cba88..0d300f3 100644
--- a/dlls/dbghelp/dbghelp_private.h
+++ b/dlls/dbghelp/dbghelp_private.h
@@ -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;
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index b793edb..b52d47e 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -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);




More information about the wine-cvs mailing list