From c6643c61086a9466f73f2bdcc8f192f3cff8d441 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Sat, 7 Feb 2009 16:09:34 +0100 Subject: [PATCH] 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 c7450ac7ca3..8fb923d0c97 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 305b56cef70..657ac6ce563 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; -- 2.11.4.GIT