Alexandre Julliard : oleaut32: Make some functions static.

Alexandre Julliard julliard at winehq.org
Tue Dec 2 11:02:02 CST 2008


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec  2 15:24:59 2008 +0100

oleaut32: Make some functions static.

---

 dlls/oleaut32/olefont.c |    6 +++---
 dlls/oleaut32/typelib.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c
index 1a30621..da622a1 100644
--- a/dlls/oleaut32/olefont.c
+++ b/dlls/oleaut32/olefont.c
@@ -328,7 +328,7 @@ static void OLEFont_SendNotify(OLEFontImpl* this, DISPID dispID)
  *
  * See Windows documentation for more details on IUnknown methods.
  */
-HRESULT WINAPI OLEFontImpl_QueryInterface(
+static HRESULT WINAPI OLEFontImpl_QueryInterface(
   IFont*  iface,
   REFIID  riid,
   void**  ppvObject)
@@ -384,7 +384,7 @@ HRESULT WINAPI OLEFontImpl_QueryInterface(
  *
  * See Windows documentation for more details on IUnknown methods.
  */
-ULONG WINAPI OLEFontImpl_AddRef(
+static ULONG WINAPI OLEFontImpl_AddRef(
   IFont* iface)
 {
   OLEFontImpl *this = (OLEFontImpl *)iface;
@@ -397,7 +397,7 @@ ULONG WINAPI OLEFontImpl_AddRef(
  *
  * See Windows documentation for more details on IUnknown methods.
  */
-ULONG WINAPI OLEFontImpl_Release(
+static ULONG WINAPI OLEFontImpl_Release(
       IFont* iface)
 {
   OLEFontImpl *this = (OLEFontImpl *)iface;
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 8e4745b..9bc601e 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -5685,7 +5685,7 @@ _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args) {
 /* The size of the argument on the stack in DWORD units (in all x86 call
  * convetions the arguments on the stack are DWORD-aligned)
  */
-int _dispargsize(VARTYPE vt)
+static int _dispargsize(VARTYPE vt)
 {
     switch (vt) {
     case VT_I8:




More information about the wine-cvs mailing list