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:
authorArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-07-28 09:13:40 +0300
committerArtjoms Rimdjonoks <artjoms.rimdjonoks@zabbix.com>2022-07-28 09:13:40 +0300
commit43cdb79b0c8670633da059d6e7308de29e5e2c1e (patch)
tree99d95af64bcb6667fb49107c1ede6b939aceb6eb
parentffabdef00ed1a2cc2250cd9e6f797c57f95f3dd1 (diff)
parent1f69d2412245eb7abfc211977b2d3ab513fd9d89 (diff)
........S. [DEV-2166] fixed backend-build Jenkins warning for 4.0
-rw-r--r--src/libs/zbxdb/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxdb/db.c b/src/libs/zbxdb/db.c
index 7c0fd8d023f..be0896e4c82 100644
--- a/src/libs/zbxdb/db.c
+++ b/src/libs/zbxdb/db.c
@@ -93,7 +93,7 @@ zbx_ibm_db2_handle_t;
static zbx_ibm_db2_handle_t ibm_db2;
-static int IBM_DB2server_status();
+static int IBM_DB2server_status(void);
static int zbx_ibm_db2_success(SQLRETURN ret);
static int zbx_ibm_db2_success_ext(SQLRETURN ret);
static void zbx_ibm_db2_log_errors(SQLSMALLINT htype, SQLHANDLE hndl, zbx_err_codes_t err, const char *context);
@@ -2280,7 +2280,7 @@ void DBfree_result(DB_RESULT result)
#ifdef HAVE_IBM_DB2
/* server status: SQL_CD_TRUE or SQL_CD_FALSE */
-static int IBM_DB2server_status()
+static int IBM_DB2server_status(void)
{
int server_status = SQL_CD_TRUE;