From: Ivo Timmermans Date: Sat, 13 Apr 2002 10:29:07 +0000 (+0000) Subject: Rename log_message to log X-Git-Tag: release-1.0.3~69 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=8822481d7b11db72d5400717d6b491b5f36bcb1f;p=tinc Rename log_message to log --- diff --git a/src/logging.c b/src/logging.c index 983bdfad..ed595779 100644 --- a/src/logging.c +++ b/src/logging.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: logging.c,v 1.1 2002/04/13 10:25:38 zarq Exp $ + $Id: logging.c,v 1.2 2002/04/13 10:28:56 zarq Exp $ */ #include "config.h" @@ -44,7 +44,7 @@ int log_compare(const void *a, const void *b) return 0; } -void log_message(int level, int priority, char *fmt, ...) +void log(int level, int priority, char *fmt, ...) { avl_node_t *avlnode; va_list args; diff --git a/src/logging.h b/src/logging.h index 2e2ccf6f..014565fa 100644 --- a/src/logging.h +++ b/src/logging.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: logging.h,v 1.1 2002/04/13 10:25:38 zarq Exp $ + $Id: logging.h,v 1.2 2002/04/13 10:29:07 zarq Exp $ */ #ifndef __TINC_LOGGING_H__ @@ -50,7 +50,7 @@ typedef void (log_function_t)(int,int,char*,va_list); extern int debug_lvl; extern avl_tree_t *log_hooks_tree; -extern void log_message(int, int, char *, ...); +extern void log(int, int, char *, ...); extern void log_add_hook(log_function_t *); extern void log_del_hook(log_function_t *); extern log_function_t log_default_hook;