Francois Gouget : msctf/tests: Make EditSession_Constructor() static.

Alexandre Julliard julliard at winehq.org
Mon Jun 15 07:59:07 CDT 2009


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Jun 15 10:53:20 2009 +0200

msctf/tests: Make EditSession_Constructor() static.

---

 dlls/msctf/tests/inputprocessor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c
index c4be695..90d6989 100644
--- a/dlls/msctf/tests/inputprocessor.c
+++ b/dlls/msctf/tests/inputprocessor.c
@@ -1479,10 +1479,11 @@ static const ITfEditSessionVtbl EditSession_EditSessionVtbl =
     EditSession_DoEditSession
 };
 
-HRESULT EditSession_Constructor(ITfEditSession **ppOut)
+static HRESULT EditSession_Constructor(ITfEditSession **ppOut)
 {
     EditSession *This;
 
+    *ppOut = NULL;
     This = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(EditSession));
     if (This == NULL)
         return E_OUTOFMEMORY;




More information about the wine-cvs mailing list