summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e7c9305)
raw | patch | inline | side by side (parent: e7c9305)
author | Michael Shigorin <mike@osdn.org.ua> | |
Fri, 22 Dec 2006 14:06:42 +0000 (15:06 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 22 Dec 2006 14:06:42 +0000 (15:06 +0100) |
No idea where it came from, but it's not necessary, thus remove it. This even
resolves a conflice with some newer glibc version.
resolves a conflice with some newer glibc version.
src/collectd.h | patch | blob | history |
diff --git a/src/collectd.h b/src/collectd.h
index 2ce0a155639a95b07a17a638db180fc9514f035a..a5c81694753c4c8ecfce7f2d676a1d193534f2bf 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
# include <sys/param.h>
#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(...) /**/