summaryrefslogtreecommitdiff
path: root/include/asterisk/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/logger.h')
-rw-r--r--include/asterisk/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 6a8f24d56..9ed2dc922 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -81,8 +81,8 @@ void ast_verbose(const char *fmt, ...)
void ast_child_verbose(int level, const char *fmt, ...)
__attribute__ ((format (printf, 2, 3)));
-int ast_register_verbose(void (*verboser)(const char *string));
-int ast_unregister_verbose(void (*verboser)(const char *string));
+int ast_register_verbose(void (*verboser)(const char *string)) __attribute__((warn_unused_result));
+int ast_unregister_verbose(void (*verboser)(const char *string)) __attribute__((warn_unused_result));
void ast_console_puts(const char *string);