crt: Mark internal mingw-w64 function _ValidateImageBase as static This function is used only in the pesect.c file. Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-crt/crt/pesect.c b/mingw-w64-crt/crt/pesect.c index 85b2213..84326af 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 ab75000..833b48a 100644 --- a/mingw-w64-crt/include/internal.h +++ b/mingw-w64-crt/include/internal.h
@@ -141,8 +141,6 @@ #include <crtdbg.h> #include <errno.h> - BOOL __cdecl _ValidateImageBase (PBYTE pImageBase); - #if defined(__SSE__) # define __mingw_has_sse() 1 #elif defined(__i386__)