Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/win32/swap.c')
-rw-r--r--src/libs/zbxsysinfo/win32/swap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/win32/swap.c b/src/libs/zbxsysinfo/win32/swap.c
index 801371d0b3d..72e3b90ccc4 100644
--- a/src/libs/zbxsysinfo/win32/swap.c
+++ b/src/libs/zbxsysinfo/win32/swap.c
@@ -18,10 +18,11 @@
**/
#include "zbxsysinfo.h"
+#include "../sysinfo.h"
#include "zbxsymbols.h"
-int VM_VMEMORY_SIZE(AGENT_REQUEST *request, AGENT_RESULT *result)
+int vm_vmemory_size(AGENT_REQUEST *request, AGENT_RESULT *result)
{
MEMORYSTATUSEX ms_ex;
MEMORYSTATUS ms;
@@ -72,7 +73,7 @@ int VM_VMEMORY_SIZE(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int SYSTEM_SWAP_SIZE(AGENT_REQUEST *request, AGENT_RESULT *result)
+int system_swap_size(AGENT_REQUEST *request, AGENT_RESULT *result)
{
MEMORYSTATUSEX ms_ex;
MEMORYSTATUS ms;