From 05246782dc9c94eeb24bb29e1489ced512259cca Mon Sep 17 00:00:00 2001 From: Artem Popov Date: Mon, 28 Nov 2016 10:56:47 -0800 Subject: [PATCH] eina/log: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter @fix Summary: add ARG_NONNULL to eina_log* APIs for Eina_Log_Domain * parameter that is always in use, can not be NULL. Reviewers: cedric, Hermet, myoungwoon, NikaWhite Reviewed By: NikaWhite Subscribers: t.naumenko, jpeg Differential Revision: https://phab.enlightenment.org/D4426 Signed-off-by: Cedric BAIL --- src/lib/eina/eina_log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/eina/eina_log.h b/src/lib/eina/eina_log.h index 84e7f23655..a6da1b8498 100644 --- a/src/lib/eina/eina_log.h +++ b/src/lib/eina/eina_log.h @@ -861,7 +861,7 @@ EAPI void eina_log_print_cb_stdout(const Eina_Log_Domain *d, int line, const char *fmt, void *data, - va_list args); + va_list args) EINA_ARG_NONNULL(1); /** * @brief Default logging method, this will output to standard error stream. @@ -904,7 +904,7 @@ EAPI void eina_log_print_cb_stderr(const Eina_Log_Domain *d, int line, const char *fmt, void *data, - va_list args); + va_list args) EINA_ARG_NONNULL(1); /** * Alternative logging method, this will output to given file stream. @@ -931,7 +931,7 @@ EAPI void eina_log_print_cb_file(const Eina_Log_Domain *d, int line, const char *fmt, void *data, - va_list args); + va_list args) EINA_ARG_NONNULL(1); /** @@ -960,7 +960,7 @@ EAPI void eina_log_print_cb_journald(const Eina_Log_Domain *d, int line, const char *fmt, void *data, - va_list args); + va_list args) EINA_ARG_NONNULL(1); /** * Configure console color of given file.