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/osx/kernel.c')
-rw-r--r--src/libs/zbxsysinfo/osx/kernel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/osx/kernel.c b/src/libs/zbxsysinfo/osx/kernel.c
index c3671cd81e8..9900ee329f0 100644
--- a/src/libs/zbxsysinfo/osx/kernel.c
+++ b/src/libs/zbxsysinfo/osx/kernel.c
@@ -18,10 +18,11 @@
**/
#include "zbxsysinfo.h"
+#include "../sysinfo.h"
#include "log.h"
-int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_maxfiles(AGENT_REQUEST *request, AGENT_RESULT *result)
{
int mib[] = {CTL_KERN, KERN_MAXFILES}, maxfiles;
size_t len = sizeof(maxfiles);
@@ -37,7 +38,7 @@ int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int KERNEL_MAXPROC(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_maxproc(AGENT_REQUEST *request, AGENT_RESULT *result)
{
int mib[] = {CTL_KERN, KERN_MAXPROC}, maxproc;
size_t len = sizeof(maxproc);