Alexandre Julliard : taskmgr: Make some variables static.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 11:38:40 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct  1 13:38:24 2010 +0200

taskmgr: Make some variables static.

---

 programs/taskmgr/column.c  |   50 ++++++++++++++++++++++----------------------
 programs/taskmgr/endproc.c |    6 ++--
 2 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/programs/taskmgr/column.c b/programs/taskmgr/column.c
index 4216d75..688771d 100644
--- a/programs/taskmgr/column.c
+++ b/programs/taskmgr/column.c
@@ -35,31 +35,31 @@
 UINT    ColumnDataHints[25];
 
 /* Column Headers; Begin */
-WCHAR    wszImageName[255];
-WCHAR    wszPID[255];
-WCHAR    wszUserName[255];
-WCHAR    wszSessionID[255];
-WCHAR    wszCPU[255];
-WCHAR    wszCPUTime[255];
-WCHAR    wszMemUsage[255];
-WCHAR    wszPeakMemUsage[255];
-WCHAR    wszMemDelta[255];
-WCHAR    wszPageFaults[255];
-WCHAR    wszPFDelta[255];
-WCHAR    wszVMSize[255];
-WCHAR    wszPagedPool[255];
-WCHAR    wszNPPool[255];
-WCHAR    wszBasePri[255];
-WCHAR    wszHandles[255];
-WCHAR    wszThreads[255];
-WCHAR    wszUSERObjects[255];
-WCHAR    wszGDIObjects[255];
-WCHAR    wszIOReads[255];
-WCHAR    wszIOWrites[255];
-WCHAR    wszIOOther[255];
-WCHAR    wszIOReadBytes[255];
-WCHAR    wszIOWriteBytes[255];
-WCHAR    wszIOOtherBytes[255];
+static WCHAR wszImageName[255];
+static WCHAR wszPID[255];
+static WCHAR wszUserName[255];
+static WCHAR wszSessionID[255];
+static WCHAR wszCPU[255];
+static WCHAR wszCPUTime[255];
+static WCHAR wszMemUsage[255];
+static WCHAR wszPeakMemUsage[255];
+static WCHAR wszMemDelta[255];
+static WCHAR wszPageFaults[255];
+static WCHAR wszPFDelta[255];
+static WCHAR wszVMSize[255];
+static WCHAR wszPagedPool[255];
+static WCHAR wszNPPool[255];
+static WCHAR wszBasePri[255];
+static WCHAR wszHandles[255];
+static WCHAR wszThreads[255];
+static WCHAR wszUSERObjects[255];
+static WCHAR wszGDIObjects[255];
+static WCHAR wszIOReads[255];
+static WCHAR wszIOWrites[255];
+static WCHAR wszIOOther[255];
+static WCHAR wszIOReadBytes[255];
+static WCHAR wszIOWriteBytes[255];
+static WCHAR wszIOOtherBytes[255];
 /* Column Headers; End */
 
 static void load_column_headers(void)
diff --git a/programs/taskmgr/endproc.c b/programs/taskmgr/endproc.c
index 5129ec3..10a8cd4 100644
--- a/programs/taskmgr/endproc.c
+++ b/programs/taskmgr/endproc.c
@@ -33,9 +33,9 @@
 #include "taskmgr.h"
 #include "perfdata.h"
 
-WCHAR    wszWarnMsg[511];
-WCHAR    wszWarnTitle[255];
-WCHAR    wszUnable2Terminate[255];
+static WCHAR wszWarnMsg[511];
+static WCHAR wszWarnTitle[255];
+static WCHAR wszUnable2Terminate[255];
 
 static void load_message_strings(void)
 {




More information about the wine-cvs mailing list