summaryrefslogtreecommitdiff
path: root/include/asterisk/logger.h
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-03-31 10:35:25 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-03-31 10:35:25 +0000
commit50fd665c0927b7fa9cf41e8f5fde2bd1011ce186 (patch)
tree5baa6f83bac6abc770692941b9820d1eeb131047 /include/asterisk/logger.h
parent7b06841395081d0a4b60a8c75531742c7ba92e70 (diff)
more trailing whitespace and extern removal
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/logger.h')
-rw-r--r--include/asterisk/logger.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index e513499ae..2543e7949 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -43,7 +43,7 @@ extern "C" {
#define VERBOSE_PREFIX_1 " "
#define VERBOSE_PREFIX_2 " == "
#define VERBOSE_PREFIX_3 " -- "
-#define VERBOSE_PREFIX_4 " > "
+#define VERBOSE_PREFIX_4 " > "
/*! Used for sending a log message */
/*!
@@ -59,28 +59,28 @@ extern "C" {
\param function Will be provided by the LOG_* macro
\param fmt This is what is important. The format is the same as your favorite breed of printf. You know how that works, right? :-)
*/
-extern void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
+void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
__attribute__ ((format (printf, 5, 6)));
-extern void ast_backtrace(void);
+void ast_backtrace(void);
-extern void ast_queue_log(const char *queuename, const char *callid, const char *agent, const char *event, const char *fmt, ...)
+void ast_queue_log(const char *queuename, const char *callid, const char *agent, const char *event, const char *fmt, ...)
__attribute__ ((format (printf, 5, 6)));
-/*! Send a verbose message (based on verbose level)
+/*! Send a verbose message (based on verbose level)
\brief This works like ast_log, but prints verbose messages to the console depending on verbosity level set.
ast_verbose(VERBOSE_PREFIX_3 "Whatever %s is happening\n", "nothing");
This will print the message to the console if the verbose level is set to a level >= 3
Note the abscence of a comma after the VERBOSE_PREFIX_3. This is important.
VERBOSE_PREFIX_1 through VERBOSE_PREFIX_3 are defined.
*/
-extern void ast_verbose(const char *fmt, ...)
+void ast_verbose(const char *fmt, ...)
__attribute__ ((format (printf, 1, 2)));
-extern int ast_register_verbose(void (*verboser)(const char *string, int opos, int replacelast, int complete));
-extern int ast_unregister_verbose(void (*verboser)(const char *string, int opos, int replacelast, int complete));
-extern int ast_verbose_dmesg(void (*verboser)(const char *string, int opos, int replacelast, int complete));
-extern void ast_console_puts(const char *string);
+int ast_register_verbose(void (*verboser)(const char *string, int opos, int replacelast, int complete));
+int ast_unregister_verbose(void (*verboser)(const char *string, int opos, int replacelast, int complete));
+int ast_verbose_dmesg(void (*verboser)(const char *string, int opos, int replacelast, int complete));
+void ast_console_puts(const char *string);
#define _A_ __FILE__, __LINE__, __PRETTY_FUNCTION__