summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin/plugin_proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/proc.plugin/plugin_proc.h')
-rw-r--r--collectors/proc.plugin/plugin_proc.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/collectors/proc.plugin/plugin_proc.h b/collectors/proc.plugin/plugin_proc.h
index 18714b548..60a5a78a2 100644
--- a/collectors/proc.plugin/plugin_proc.h
+++ b/collectors/proc.plugin/plugin_proc.h
@@ -5,25 +5,9 @@
#include "daemon/common.h"
-#if (TARGET_OS == OS_LINUX)
-
-#define NETDATA_PLUGIN_HOOK_LINUX_PROC \
- { \
- .name = "PLUGIN[proc]", \
- .config_section = CONFIG_SECTION_PLUGINS, \
- .config_name = "proc", \
- .enabled = 1, \
- .thread = NULL, \
- .init_routine = NULL, \
- .start_routine = proc_main \
- },
-
-
#define PLUGIN_PROC_CONFIG_NAME "proc"
#define PLUGIN_PROC_NAME PLUGIN_PROC_CONFIG_NAME ".plugin"
-extern void *proc_main(void *ptr);
-
extern int do_proc_net_dev(int update_every, usec_t dt);
extern int do_proc_net_wireless(int update_every, usec_t dt);
extern int do_proc_diskstats(int update_every, usec_t dt);
@@ -74,11 +58,4 @@ extern void netdev_rename_device_del(const char *host_device);
#include "proc_pressure.h"
#include "zfs_common.h"
-#else // (TARGET_OS == OS_LINUX)
-
-#define NETDATA_PLUGIN_HOOK_LINUX_PROC
-
-#endif // (TARGET_OS == OS_LINUX)
-
-
#endif /* NETDATA_PLUGIN_PROC_H */