Add attributes to various API calls, to help track down bugs (and remove a deprecated function)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-05-02 02:33:04 +00:00
parent 9e82fd7ec4
commit b11854445b
8 changed files with 128 additions and 88 deletions

View File

@@ -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);