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:
authorAndris Mednis <Andris.Mednis@zabbix.com>2018-08-13 16:15:22 +0300
committerAndris Mednis <Andris.Mednis@zabbix.com>2018-08-13 16:15:22 +0300
commitf30be3eb48b33d11c57dea522bcfa24eb1b48121 (patch)
treee6764c4023b24cd2edee33ef379a72b6ea3ab8a3 /include/log.h
parent440f8af484688cee2f4e84186b1716c2c24e08aa (diff)
...G...PS. [DEV-698] fixed coding style of __zbx_zabbix_log() format string attribute definition (issue 1)
Diffstat (limited to 'include/log.h')
-rw-r--r--include/log.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/log.h b/include/log.h
index 4925d2d3133..2a6a5ce8ae9 100644
--- a/include/log.h
+++ b/include/log.h
@@ -59,15 +59,9 @@ zbx_err_codes_t;
#endif
int zabbix_open_log(int type, int level, const char *filename, char **error);
-
-void __zbx_zabbix_log(int level, const char *fmt, ...)
-#if defined(__GNUC__) || defined(__clang__)
- __attribute__((__format__(__printf__, 2, 3)));
-#else
- ;
-#endif
-
+void __zbx_zabbix_log(int level, const char *fmt, ...) __zbx_attr_format_printf(2, 3);
void zabbix_close_log(void);
+
#ifndef _WINDOWS
int zabbix_increase_log_level(void);
int zabbix_decrease_log_level(void);