diff --git a/dlls/imagehlp/access.c b/dlls/imagehlp/access.c index 009d6f72469..cf19e6c90cd 100644 --- a/dlls/imagehlp/access.c +++ b/dlls/imagehlp/access.c @@ -54,7 +54,7 @@ static LOADED_IMAGE IMAGEHLP_EmptyLoadedImage = { 148, /* SizeOfImage; */ }; -extern HANDLE IMAGEHLP_hHeap; +DECLSPEC_HIDDEN extern HANDLE IMAGEHLP_hHeap; /*********************************************************************** * GetImageConfigInformation (IMAGEHLP.@) diff --git a/dlls/imagehlp/imagehlp_main.c b/dlls/imagehlp/imagehlp_main.c index 91c76bdb7d4..3ddae7aa5c4 100644 --- a/dlls/imagehlp/imagehlp_main.c +++ b/dlls/imagehlp/imagehlp_main.c @@ -26,7 +26,7 @@ #include "wine/debug.h" /**********************************************************************/ -HANDLE IMAGEHLP_hHeap = NULL; +DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap = NULL; /*********************************************************************** * DllMain (IMAGEHLP.init)