Andrew Talbot : serialui: Declare some items static.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 5 07:44:52 CST 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Sat Jan 27 18:10:19 2007 +0000

serialui: Declare some items static.

---

 dlls/serialui/confdlg.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c
index 465c4e2..d6b8f1e 100644
--- a/dlls/serialui/confdlg.c
+++ b/dlls/serialui/confdlg.c
@@ -47,7 +47,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(comm);
 
-HMODULE SERIALUI_hModule = 0;
+static HMODULE SERIALUI_hModule;
 
 /***********************************************************************
  * DllMain [Internal] Initializes the internal 'SERIALUI.DLL'.
@@ -342,7 +342,7 @@ static void SERIALUI_DialogInfoToDCB(HWN
  *
  * Shows a dialog for configuring a COMM port
  */
-INT_PTR CALLBACK SERIALUI_ConfigDialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK SERIALUI_ConfigDialogProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 {
     static const WCHAR szSettings[] = {
         'S','e','t','t','i','n','g','s',' ','f','o','r',' ',0




More information about the wine-cvs mailing list