Alexandre Julliard : hhctrl.ocx: Make some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 2 15:21:46 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Aug  2 22:02:25 2006 +0200

hhctrl.ocx: Make some functions static.

---

 dlls/hhctrl.ocx/chm.c  |    2 +-
 dlls/hhctrl.ocx/help.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/hhctrl.ocx/chm.c b/dlls/hhctrl.ocx/chm.c
index 900d63c..44438d6 100644
--- a/dlls/hhctrl.ocx/chm.c
+++ b/dlls/hhctrl.ocx/chm.c
@@ -46,7 +46,7 @@ static LPWSTR CHM_ANSIToUnicode(LPCSTR a
 }
 
 /* Reads a string from the #STRINGS section in the CHM file */
-LPWSTR CHM_ReadString(CHMInfo *pChmInfo, DWORD dwOffset)
+static LPWSTR CHM_ReadString(CHMInfo *pChmInfo, DWORD dwOffset)
 {
     LARGE_INTEGER liOffset;
     IStorage *pStorage = pChmInfo->pStorage;
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 7bf35bc..2c288b6 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -148,7 +148,7 @@ static void SB_OnMouseMove(HWND hWnd, WP
         return;
 }
 
-LRESULT CALLBACK SizeBar_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+static LRESULT CALLBACK SizeBar_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     switch (message)
     {
@@ -264,7 +264,7 @@ static void Child_OnPaint(HWND hWnd)
     EndPaint(hWnd, &ps);
 }
 
-LRESULT CALLBACK Child_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+static LRESULT CALLBACK Child_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     switch (message)
     {
@@ -619,7 +619,7 @@ static void Help_OnSize(HWND hWnd)
     WB_ResizeBrowser(pHHInfo->pWBInfo, rc.right - dwSize, rc.bottom - dwSize);
 }
 
-LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+static LRESULT CALLBACK Help_WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
     PAINTSTRUCT ps;
     HDC hdc;




More information about the wine-cvs mailing list