summaryrefslogtreecommitdiffstats
path: root/collectors/freebsd.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/freebsd.plugin')
-rw-r--r--collectors/freebsd.plugin/plugin_freebsd.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/collectors/freebsd.plugin/plugin_freebsd.h b/collectors/freebsd.plugin/plugin_freebsd.h
index ab46080b..26f76b6b 100644
--- a/collectors/freebsd.plugin/plugin_freebsd.h
+++ b/collectors/freebsd.plugin/plugin_freebsd.h
@@ -5,20 +5,6 @@
#include "daemon/common.h"
-#if (TARGET_OS == OS_FREEBSD)
-
-#define NETDATA_PLUGIN_HOOK_FREEBSD \
- { \
- .name = "PLUGIN[freebsd]", \
- .config_section = CONFIG_SECTION_PLUGINS, \
- .config_name = "freebsd", \
- .enabled = 1, \
- .thread = NULL, \
- .init_routine = NULL, \
- .start_routine = freebsd_main \
- },
-
-
#include <sys/sysctl.h>
#define KILO_FACTOR 1024
@@ -27,8 +13,6 @@
#define MAX_INT_DIGITS 10 // maximum number of digits for int
-void *freebsd_main(void *ptr);
-
extern int freebsd_plugin_init();
extern int do_vm_loadavg(int update_every, usec_t dt);
@@ -65,10 +49,4 @@ extern int do_kstat_zfs_misc_arcstats(int update_every, usec_t dt);
extern int do_kstat_zfs_misc_zio_trim(int update_every, usec_t dt);
extern int do_ipfw(int update_every, usec_t dt);
-#else // (TARGET_OS == OS_FREEBSD)
-
-#define NETDATA_PLUGIN_HOOK_FREEBSD
-
-#endif // (TARGET_OS == OS_FREEBSD)
-
#endif /* NETDATA_PLUGIN_FREEBSD_H */