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:
authorAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2022-11-08 15:00:24 +0300
committerAndrejs Kozlovs <andrejs.kozlovs@zabbix.com>2022-11-08 15:00:24 +0300
commit5887066f5624d9a8d4af3f836fae505569ad8aad (patch)
treec909647cd033116dff07bb9417fa51431b2de1f8
parentf5e142db341c9484d4cad64c62d51a2b5ece5b9b (diff)
.......... [DEV-2135] fixed PR warnings
-rw-r--r--include/zbxdbwrap.h2
-rw-r--r--src/libs/zbxdbhigh/trigger.c1
-rw-r--r--src/libs/zbxhistory/history_elastic.c3
-rw-r--r--src/libs/zbxhistory/history_sql.c1
-rw-r--r--src/zabbix_proxy/datasender/datasender.c2
-rw-r--r--src/zabbix_proxy/proxyconfig/proxyconfig.c2
-rw-r--r--src/zabbix_server/trapper/proxydata.c4
7 files changed, 7 insertions, 8 deletions
diff --git a/include/zbxdbwrap.h b/include/zbxdbwrap.h
index 6c68c328dc6..9b058ed9846 100644
--- a/include/zbxdbwrap.h
+++ b/include/zbxdbwrap.h
@@ -21,7 +21,7 @@
#define ZABBIX_DBWRAP_H
#include "zbxdbhigh.h"
-#include "zbxcachehistory.h"
+#include "zbxcacheconfig.h"
#define ZBX_PROXYMODE_ACTIVE 0
#define ZBX_PROXYMODE_PASSIVE 1
diff --git a/src/libs/zbxdbhigh/trigger.c b/src/libs/zbxdbhigh/trigger.c
index b3af0d4e78c..096c838bcce 100644
--- a/src/libs/zbxdbhigh/trigger.c
+++ b/src/libs/zbxdbhigh/trigger.c
@@ -21,7 +21,6 @@
#include "log.h"
#include "events.h"
-#include "zbxserver.h"
#include "zbxnum.h"
/******************************************************************************
diff --git a/src/libs/zbxhistory/history_elastic.c b/src/libs/zbxhistory/history_elastic.c
index f6baf62fe43..a98840cecc2 100644
--- a/src/libs/zbxhistory/history_elastic.c
+++ b/src/libs/zbxhistory/history_elastic.c
@@ -22,7 +22,8 @@
#include "log.h"
#include "zbxalgo.h"
-#include "zbxcachehistory.h"
+#include "zbxdb.h"
+#include "zbxstr.h"
#include "zbxnum.h"
/* curl_multi_wait() is supported starting with version 7.28.0 (0x071c00) */
diff --git a/src/libs/zbxhistory/history_sql.c b/src/libs/zbxhistory/history_sql.c
index 23565890f38..770262cb9ba 100644
--- a/src/libs/zbxhistory/history_sql.c
+++ b/src/libs/zbxhistory/history_sql.c
@@ -22,7 +22,6 @@
#include "zbxalgo.h"
#include "zbxdbhigh.h"
-#include "zbxcachehistory.h"
#include "zbxnum.h"
typedef struct
diff --git a/src/zabbix_proxy/datasender/datasender.c b/src/zabbix_proxy/datasender/datasender.c
index d490f62b23a..010cf551306 100644
--- a/src/zabbix_proxy/datasender/datasender.c
+++ b/src/zabbix_proxy/datasender/datasender.c
@@ -20,10 +20,10 @@
#include "datasender.h"
#include "zbxcommshigh.h"
-#include "zbxdbhigh.h"
#include "log.h"
#include "zbxnix.h"
#include "zbxdbwrap.h"
+#include "zbxcachehistory.h"
#include "zbxself.h"
#include "zbxtasks.h"
#include "zbxcompress.h"
diff --git a/src/zabbix_proxy/proxyconfig/proxyconfig.c b/src/zabbix_proxy/proxyconfig/proxyconfig.c
index 0f5f4542ff3..0883fdf4611 100644
--- a/src/zabbix_proxy/proxyconfig/proxyconfig.c
+++ b/src/zabbix_proxy/proxyconfig/proxyconfig.c
@@ -21,7 +21,7 @@
#include "log.h"
#include "zbxnix.h"
-#include "zbxdbwrap.h"
+#include "zbxcachehistory.h"
#include "zbxself.h"
#include "zbxtime.h"
diff --git a/src/zabbix_server/trapper/proxydata.c b/src/zabbix_server/trapper/proxydata.c
index f1a02741668..2fe95123d93 100644
--- a/src/zabbix_server/trapper/proxydata.c
+++ b/src/zabbix_server/trapper/proxydata.c
@@ -18,9 +18,9 @@
**/
#include "proxydata.h"
-#include "zbxdbwrap.h"
-#include "zbxdbhigh.h"
+#include "zbxdbwrap.h"
+#include "zbxcachehistory.h"
#include "log.h"
#include "zbxtasks.h"
#include "zbxmutexs.h"