Francois Gouget : taskmgr: Make some functions static.
Alexandre Julliard
julliard at winehq.org
Mon Feb 9 10:29:35 CST 2009
Module: wine
Branch: master
Commit: c6643c61086a9466f73f2bdcc8f192f3cff8d441
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6643c61086a9466f73f2bdcc8f192f3cff8d441
Author: Francois Gouget <fgouget at free.fr>
Date: Sat Feb 7 16:09:34 2009 +0100
taskmgr: Make some functions static.
---
programs/taskmgr/applpage.c | 2 +-
programs/taskmgr/graphctl.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c
index c7450ac..8fb923d 100644
--- a/programs/taskmgr/applpage.c
+++ b/programs/taskmgr/applpage.c
@@ -507,7 +507,7 @@ void RefreshApplicationPage(void)
SetEvent(hApplicationPageEvent);
}
-void UpdateApplicationListControlViewSetting(void)
+static void UpdateApplicationListControlViewSetting(void)
{
DWORD dwStyle = GetWindowLong(hApplicationPageListCtrl, GWL_STYLE);
diff --git a/programs/taskmgr/graphctl.c b/programs/taskmgr/graphctl.c
index 305b56c..657ac6c 100644
--- a/programs/taskmgr/graphctl.c
+++ b/programs/taskmgr/graphctl.c
@@ -124,7 +124,7 @@ TGraphCtrl::~TGraphCtrl(void)
}
#endif
-void GraphCtrl_Resize(TGraphCtrl* this)
+static void GraphCtrl_Resize(TGraphCtrl* this)
{
/* NOTE: Resize automatically gets called during the setup of the control */
GetClientRect(this->m_hWnd, &this->m_rectClient);
@@ -165,7 +165,7 @@ BOOL GraphCtrl_Create(TGraphCtrl* this, HWND hWnd, HWND hParentWnd, UINT nID)
return 0;
}
-void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
+static void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
{
/* There is a lot of drawing going on here - particularly in terms of */
/* drawing the grid. Don't panic, this is all being drawn (only once) */
@@ -374,7 +374,7 @@ void GraphCtrl_SetBackgroundColor(TGraphCtrl* this, COLORREF color)
GraphCtrl_InvalidateCtrl(this);
}
-void GraphCtrl_DrawPoint(TGraphCtrl* this)
+static void GraphCtrl_DrawPoint(TGraphCtrl* this)
{
/* this does the work of "scrolling" the plot to the left
* and appending a new data point all of the plotting is
@@ -477,7 +477,7 @@ double GraphCtrl_AppendPoint(TGraphCtrl* this,
return dPrevious;
}
-void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc)
+static void GraphCtrl_Paint(TGraphCtrl* this, HWND hWnd, HDC dc)
{
HDC memDC;
HBITMAP memBitmap;
More information about the wine-cvs
mailing list