summaryrefslogtreecommitdiffstats
path: root/collectors/checks.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/checks.plugin')
-rw-r--r--collectors/checks.plugin/plugin_checks.c6
-rw-r--r--collectors/checks.plugin/plugin_checks.h29
2 files changed, 1 insertions, 34 deletions
diff --git a/collectors/checks.plugin/plugin_checks.c b/collectors/checks.plugin/plugin_checks.c
index 1bd053b8c..312515115 100644
--- a/collectors/checks.plugin/plugin_checks.c
+++ b/collectors/checks.plugin/plugin_checks.c
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-3.0-or-later
-#include "plugin_checks.h"
-
-#ifdef NETDATA_INTERNAL_CHECKS
+#include "daemon/common.h"
static void checks_main_cleanup(void *ptr) {
struct netdata_static_thread *static_thread = (struct netdata_static_thread *)ptr;
@@ -125,5 +123,3 @@ void *checks_main(void *ptr) {
netdata_thread_cleanup_pop(1);
return NULL;
}
-
-#endif // NETDATA_INTERNAL_CHECKS
diff --git a/collectors/checks.plugin/plugin_checks.h b/collectors/checks.plugin/plugin_checks.h
deleted file mode 100644
index c8057253c..000000000
--- a/collectors/checks.plugin/plugin_checks.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// SPDX-License-Identifier: GPL-3.0-or-later
-
-#ifndef NETDATA_PLUGIN_CHECKS_H
-#define NETDATA_PLUGIN_CHECKS_H 1
-
-#include "daemon/common.h"
-
-#ifdef NETDATA_INTERNAL_CHECKS
-
-#define NETDATA_PLUGIN_HOOK_CHECKS \
- { \
- .name = "PLUGIN[check]", \
- .config_section = CONFIG_SECTION_PLUGINS, \
- .config_name = "checks", \
- .enabled = 0, \
- .thread = NULL, \
- .init_routine = NULL, \
- .start_routine = checks_main \
- },
-
-extern void *checks_main(void *ptr);
-
-#else // !NETDATA_INTERNAL_CHECKS
-
-#define NETDATA_PLUGIN_HOOK_CHECKS
-
-#endif // NETDATA_INTERNAL_CHECKS
-
-#endif // NETDATA_PLUGIN_CHECKS_H