Andrew Talbot : oleaut32: Declare some items static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 22 07:05:23 CST 2007


Module: wine
Branch: master
Commit: d6fc116475efe301685f05866b4504abbd5eeea3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d6fc116475efe301685f05866b4504abbd5eeea3

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jan 20 16:51:29 2007 +0000

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 6c3b16a..0992683 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -1229,7 +1229,7 @@ static void dump_TLBImplType(const TLBIm
     }
 }
 
-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 c2ce2eb..fc1cba0 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 03c1537..37fdea2 100644
--- a/dlls/oleaut32/variant.c
+++ b/dlls/oleaut32/variant.c
@@ -1465,7 +1465,7 @@ HRESULT WINAPI VarUdateFromDate(DATE dat
   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 c5f2e5d..41f8a9a 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);




More information about the wine-cvs mailing list