summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxdbhigh/db.c
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-07-03 13:27:18 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-07-03 13:27:18 +0000
commit47322761508080983273ad33f8edeb065d999ecc (patch)
tree0da1057db0231b9e503b6d80e156fd3df00f8b6c /src/libs/zbxdbhigh/db.c
parentc3fafe63847c8ae87162cd63b518660ad5681d2f (diff)
downloadzabbix-47322761508080983273ad33f8edeb065d999ecc.tar.gz
zabbix-47322761508080983273ad33f8edeb065d999ecc.tar.xz
zabbix-47322761508080983273ad33f8edeb065d999ecc.zip
- fixed ODBC monitoring (Eugene)
- added selfvalidation code for functions with variable argument list (Eugene) git-svn-id: svn://svn.zabbix.com/trunk@4419 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/db.c')
-rw-r--r--src/libs/zbxdbhigh/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxdbhigh/db.c b/src/libs/zbxdbhigh/db.c
index a6436c2a..34597b72 100644
--- a/src/libs/zbxdbhigh/db.c
+++ b/src/libs/zbxdbhigh/db.c
@@ -163,7 +163,7 @@ void DBrollback(void)
* Execute SQL statement. For non-select statements only.
* If fails, program terminates.
*/
-int DBexecute(const char *fmt, ...)
+int __zbx_DBexecute(const char *fmt, ...)
{
va_list args;
int ret = ZBX_DB_DOWN;
@@ -201,7 +201,7 @@ DB_ROW DBfetch(DB_RESULT result)
* Execute SQL statement. For select statements only.
* If fails, program terminates.
*/
-DB_RESULT DBselect(const char *fmt, ...)
+DB_RESULT __zbx_DBselect(const char *fmt, ...)
{
va_list args;
DB_RESULT result = (DB_RESULT)ZBX_DB_DOWN;