Rename log_message to log
This commit is contained in:
parent
cc603e2765
commit
8822481d7b
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue