This function is used only in the pesect.c file.
---
mingw-w64-crt/crt/pesect.c | 4 +---
mingw-w64-crt/include/internal.h | 1 -
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/mingw-w64-crt/crt/pesect.c b/mingw-w64-crt/crt/pesect.c
index 20389e0622d5..85b221305b93 100644
--- a/mingw-w64-crt/crt/pesect.c
+++ b/mingw-w64-crt/crt/pesect.c
@@ -29,9 +29,7 @@ _ValidateImageBase (PBYTE pImageBase)
return TRUE;
}
-PIMAGE_SECTION_HEADER _FindPESection (PBYTE, DWORD_PTR);
-
-PIMAGE_SECTION_HEADER
+static PIMAGE_SECTION_HEADER
_FindPESection (PBYTE pImageBase, DWORD_PTR rva)
{
PIMAGE_NT_HEADERS pNTHeader;
diff --git a/mingw-w64-crt/include/internal.h b/mingw-w64-crt/include/internal.h
index a01f704f483f..ab750001dd11 100644
--- a/mingw-w64-crt/include/internal.h
+++ b/mingw-w64-crt/include/internal.h
@@ -142,7 +142,6 @@ extern "C" {
#include <errno.h>
BOOL __cdecl _ValidateImageBase (PBYTE pImageBase);
- PIMAGE_SECTION_HEADER __cdecl _FindPESection (PBYTE pImageBase, DWORD_PTR
rva);
#if defined(__SSE__)
# define __mingw_has_sse() 1
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public