oleaut32: Make VARIANT_GetLocalisedText() static.

Francois Gouget fgouget at free.fr
Sun Jun 4 04:39:20 CDT 2017


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/oleaut32/variant.h | 1 -
 dlls/oleaut32/vartype.c | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/oleaut32/variant.h b/dlls/oleaut32/variant.h
index 9436cb30fc7..76444cf0514 100644
--- a/dlls/oleaut32/variant.h
+++ b/dlls/oleaut32/variant.h
@@ -115,7 +115,6 @@ typedef struct tagVARIANT_NUMBER_CHARS
 } VARIANT_NUMBER_CHARS;
 
 unsigned int get_type_size(ULONG*, VARTYPE) DECLSPEC_HIDDEN;
-BOOL VARIANT_GetLocalisedText(LANGID, DWORD, WCHAR *) DECLSPEC_HIDDEN;
 HRESULT VARIANT_ClearInd(VARIANTARG *) DECLSPEC_HIDDEN;
 BOOL get_date_format(LCID, DWORD, const SYSTEMTIME *,
         const WCHAR *, WCHAR *, int) DECLSPEC_HIDDEN;
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index aab4d33e21e..881fe20e915 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -6061,7 +6061,7 @@ HRESULT WINAPI VarBoolFromCy(CY cyIn, VARIANT_BOOL *pBoolOut)
  * Get a localized string from the resources
  *
  */
-BOOL VARIANT_GetLocalisedText(LANGID langId, DWORD dwId, WCHAR *lpszDest)
+static BOOL VARIANT_GetLocalisedText(LANGID langId, DWORD dwId, WCHAR *lpszDest)
 {
   HRSRC hrsrc;
 
-- 
2.11.0




More information about the wine-patches mailing list