This function is used only in the pesect.c file.
---
mingw-w64-crt/crt/pesect.c | 4 +---
mingw-w64-crt/include/internal.h | 2 --
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/mingw-w64-crt/crt/pesect.c b/mingw-w64-crt/crt/pesect.c
index 85b221305b93..84326aff2797 100644
--- a/mingw-w64-crt/crt/pesect.c
+++ b/mingw-w64-crt/crt/pesect.c
@@ -8,9 +8,7 @@
extern IMAGE_DOS_HEADER __ImageBase;
-WINBOOL _ValidateImageBase (PBYTE);
-
-WINBOOL
+static WINBOOL
_ValidateImageBase (PBYTE pImageBase)
{
PIMAGE_DOS_HEADER pDOSHeader;
diff --git a/mingw-w64-crt/include/internal.h b/mingw-w64-crt/include/internal.h
index ab750001dd11..833b48a1d61f 100644
--- a/mingw-w64-crt/include/internal.h
+++ b/mingw-w64-crt/include/internal.h
@@ -141,8 +141,6 @@ extern "C" {
#include <crtdbg.h>
#include <errno.h>
- BOOL __cdecl _ValidateImageBase (PBYTE pImageBase);
-
#if defined(__SSE__)
# define __mingw_has_sse() 1
#elif defined(__i386__)
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public