From d6fc116475efe301685f05866b4504abbd5eeea3 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 20 Jan 2007 16:51:29 +0000 Subject: [PATCH] oleaut32: Declare some items static. --- dlls/oleaut32/typelib.c | 2 +- dlls/oleaut32/typelib.h | 1 - dlls/oleaut32/variant.c | 2 +- dlls/oleaut32/variant.h | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 6c3b16a0dca..09926836742 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -1229,7 +1229,7 @@ static void dump_TLBImplType(const TLBImplType * impl) } } -void dump_Variant(const VARIANT * pvar) +static void dump_Variant(const VARIANT * pvar) { SYSTEMTIME st; diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h index c2ce2ebc48e..fc1cba0a711 100644 --- a/dlls/oleaut32/typelib.h +++ b/dlls/oleaut32/typelib.h @@ -599,7 +599,6 @@ WORD typeofarray HRESULT ITypeInfoImpl_GetInternalFuncDesc( ITypeInfo *iface, UINT index, const FUNCDESC **ppFuncDesc ); extern DWORD _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args); -extern void dump_Variant(const VARIANT * pvar); HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv); diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index 03c15371410..37fdea2e5b6 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -1465,7 +1465,7 @@ HRESULT WINAPI VarUdateFromDate(DATE dateIn, ULONG dwFlags, UDATE *lpUdate) TRACE("lcid 0x%x, " #name "=%d '%c'\n", lcid, lpChars->name, lpChars->name) /* Get the valid number characters for an lcid */ -void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID lcid, DWORD dwFlags) +static void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID lcid, DWORD dwFlags) { static const VARIANT_NUMBER_CHARS defaultChars = { '-','+','.',',','$',0,'.',',' }; LCTYPE lctype = dwFlags & LOCALE_NOUSEROVERRIDE; diff --git a/dlls/oleaut32/variant.h b/dlls/oleaut32/variant.h index c5f2e5d2fa3..41f8a9af6ee 100644 --- a/dlls/oleaut32/variant.h +++ b/dlls/oleaut32/variant.h @@ -123,5 +123,3 @@ typedef struct tagVARIANT_NUMBER_CHARS WCHAR cCurrencyDecimalPoint; WCHAR cCurrencyDigitSeparator; } VARIANT_NUMBER_CHARS; - -void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS*,LCID,DWORD);