From 2ef077e95ec17ff2ea410210bfcfeb8ecde911fa Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 6 Feb 2008 23:38:13 +0100 Subject: [PATCH] taskmgr: Make stuff static. --- programs/taskmgr/perfdata.c | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/programs/taskmgr/perfdata.c b/programs/taskmgr/perfdata.c index 3a32fa2bdfe..cda872d7a9c 100644 --- a/programs/taskmgr/perfdata.c +++ b/programs/taskmgr/perfdata.c @@ -32,25 +32,25 @@ #include "taskmgr.h" #include "perfdata.h" -PROCNTQSI NtQuerySystemInformation = NULL; -PROCGGR pGetGuiResources = NULL; -PROCGPIC pGetProcessIoCounters = NULL; -CRITICAL_SECTION PerfDataCriticalSection; -PPERFDATA pPerfDataOld = NULL; /* Older perf data (saved to establish delta values) */ -PPERFDATA pPerfData = NULL; /* Most recent copy of perf data */ -ULONG ProcessCountOld = 0; -ULONG ProcessCount = 0; -double dbIdleTime; -double dbKernelTime; -double dbSystemTime; -LARGE_INTEGER liOldIdleTime = {{0,0}}; -double OldKernelTime = 0; -LARGE_INTEGER liOldSystemTime = {{0,0}}; -SYSTEM_PERFORMANCE_INFORMATION SystemPerfInfo; -SYSTEM_BASIC_INFORMATION SystemBasicInfo; -SYSTEM_CACHE_INFORMATION SystemCacheInfo; -SYSTEM_HANDLE_INFORMATION SystemHandleInfo; -PSYSTEM_PROCESSORTIME_INFO SystemProcessorTimeInfo = NULL; +static PROCNTQSI NtQuerySystemInformation = NULL; +static PROCGGR pGetGuiResources = NULL; +static PROCGPIC pGetProcessIoCounters = NULL; +static CRITICAL_SECTION PerfDataCriticalSection; +static PPERFDATA pPerfDataOld = NULL; /* Older perf data (saved to establish delta values) */ +static PPERFDATA pPerfData = NULL; /* Most recent copy of perf data */ +static ULONG ProcessCountOld = 0; +static ULONG ProcessCount = 0; +static double dbIdleTime; +static double dbKernelTime; +static double dbSystemTime; +static LARGE_INTEGER liOldIdleTime = {{0,0}}; +static double OldKernelTime = 0; +static LARGE_INTEGER liOldSystemTime = {{0,0}}; +static SYSTEM_PERFORMANCE_INFORMATION SystemPerfInfo; +static SYSTEM_BASIC_INFORMATION SystemBasicInfo; +static SYSTEM_CACHE_INFORMATION SystemCacheInfo; +static SYSTEM_HANDLE_INFORMATION SystemHandleInfo; +static PSYSTEM_PROCESSORTIME_INFO SystemProcessorTimeInfo = NULL; BOOL PerfDataInitialize(void) {