From 45ed9b14426d76db619fb6dd74982349a450ef4d Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Fri, 22 Dec 2006 15:06:42 +0100 Subject: [PATCH 1/1] src/collectd.h: Don't mess with the syslog-stuff if it's present. No idea where it came from, but it's not necessary, thus remove it. This even resolves a conflice with some newer glibc version. --- src/collectd.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/collectd.h b/src/collectd.h index 2ce0a155..a5c81694 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -128,19 +128,7 @@ # include #endif -#if HAVE_SYSLOG -# define syslog(...) syslog(__VA_ARGS__) -# if HAVE_OPENLOG -# define openlog(...) openlog(__VA_ARGS__) -# else -# define openlog(...) /**/ -# endif -# if HAVE_CLOSELOG -# define closelog(...) closelog(__VA_ARGS__) -# else -# define closelog(...) /**/ -# endif -#else +#if !HAVE_SYSLOG # define syslog(...) /**/ # define openlog(...) /**/ # define closelog(...) /**/ -- 2.11.0