Andrew Talbot : ole32: Declare a function static.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 10:40:44 CST 2009


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sun Jan 11 15:28:26 2009 +0000

ole32: Declare a function static.

---

 dlls/ole32/ifs.h   |    4 ----
 dlls/ole32/ole16.c |    2 +-
 2 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/dlls/ole32/ifs.h b/dlls/ole32/ifs.h
index 89ae1e2..4c4287f 100644
--- a/dlls/ole32/ifs.h
+++ b/dlls/ole32/ifs.h
@@ -59,10 +59,6 @@ DECLARE_INTERFACE_(IMalloc16,IUnknown)
 
 /**********************************************************************/
 
-extern LPMALLOC16 IMalloc16_Constructor(void);
-
-/**********************************************************************/
-
 typedef struct ILockBytes16 *LPLOCKBYTES16;
 
 #define INTERFACE ILockBytes16
diff --git a/dlls/ole32/ole16.c b/dlls/ole32/ole16.c
index a8fa59b..1e1cf45 100644
--- a/dlls/ole32/ole16.c
+++ b/dlls/ole32/ole16.c
@@ -171,7 +171,7 @@ LPVOID CDECL IMalloc16_fnHeapMinimize(IMalloc16* iface) {
 /******************************************************************************
  * IMalloc16_Constructor [VTABLE]
  */
-LPMALLOC16
+static LPMALLOC16
 IMalloc16_Constructor(void)
 {
     static IMalloc16Vtbl vt16;




More information about the wine-cvs mailing list