projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some magic
[tinc]
/
src
/
logging.h
diff --git
a/src/logging.h
b/src/logging.h
index
245e412
..
2dadeae
100644
(file)
--- 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.
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__
*/
#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 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__ */
#endif /* __TINC_LOGGING_H__ */