src/collectd.h: Don't load `syslog.h'.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 15 Mar 2007 20:07:18 +0000 (21:07 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 15 Mar 2007 20:07:18 +0000 (21:07 +0100)
Plugins should use `plugin_log' now.

src/collectd.h

index 7bf2f56..0e8f6f7 100644 (file)
@@ -77,9 +77,6 @@
 #if HAVE_ERRNO_H
 # include <errno.h>
 #endif
-#if HAVE_SYSLOG_H
-# include <syslog.h>
-#endif
 #if HAVE_LIMITS_H
 # include <limits.h>
 #endif
 # include <sys/param.h>
 #endif
 
-#if !HAVE_SYSLOG
-# define syslog(...) /**/
-# define openlog(...) /**/
-# define closelog(...) /**/
-#endif
-
 #if HAVE_KSTAT_H
 # include <kstat.h>
 #endif