From 490b13edcfcae0422b6bd77fdb2a7f0181b14307 Mon Sep 17 00:00:00 2001 From: Ivo Timmermans Date: Sat, 13 Apr 2002 10:45:56 +0000 Subject: [PATCH] Some magic --- src/logging.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/logging.h b/src/logging.h index 245e412..2dadeae 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.3 2002/04/13 10:40:09 zarq Exp $ + $Id: logging.h,v 1.4 2002/04/13 10:45:56 zarq Exp $ */ #ifndef __TINC_LOGGING_H__ @@ -54,6 +54,10 @@ 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; -extern void syslog(int, char *, ...); +extern void tinc_syslog(int, char *, ...); + +#ifndef LOG_ERR /* Something from syslog.h */ +# define syslog tinc_syslog +#endif #endif /* __TINC_LOGGING_H__ */ -- 2.25.1