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/netbsd/kernel.c')
-rw-r--r--src/libs/zbxsysinfo/netbsd/kernel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/netbsd/kernel.c b/src/libs/zbxsysinfo/netbsd/kernel.c
index 71bbfa362ca..0d992b71ef5 100644
--- a/src/libs/zbxsysinfo/netbsd/kernel.c
+++ b/src/libs/zbxsysinfo/netbsd/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)
{
#ifdef HAVE_FUNCTION_SYSCTL_KERN_MAXFILES
int mib[2];
@@ -50,7 +51,7 @@ int KERNEL_MAXFILES(AGENT_REQUEST *request, AGENT_RESULT *result)
#endif
}
-int KERNEL_MAXPROC(AGENT_REQUEST *request, AGENT_RESULT *result)
+int kernel_maxproc(AGENT_REQUEST *request, AGENT_RESULT *result)
{
#ifdef HAVE_FUNCTION_SYSCTL_KERN_MAXPROC
int mib[2];