From: Ivo Timmermans Date: Sat, 13 Apr 2002 10:45:56 +0000 (+0000) Subject: Some magic X-Git-Tag: release-1.0.3~66 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=490b13edcfcae0422b6bd77fdb2a7f0181b14307 Some magic --- diff --git a/src/logging.h b/src/logging.h index 245e4124..2dadeae8 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__ */