summaryrefslogtreecommitdiffstats
path: root/collectors/xenstat.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/xenstat.plugin')
-rw-r--r--collectors/xenstat.plugin/xenstat_plugin.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/collectors/xenstat.plugin/xenstat_plugin.c b/collectors/xenstat.plugin/xenstat_plugin.c
index abcb5a1c..781b22af 100644
--- a/collectors/xenstat.plugin/xenstat_plugin.c
+++ b/collectors/xenstat.plugin/xenstat_plugin.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#include "libnetdata/libnetdata.h"
+#include "libnetdata/required_dummies.h"
#include <xenstat.h>
#include <libxl.h>
@@ -35,35 +36,6 @@
#define CHART_IS_OBSOLETE 1
#define CHART_IS_NOT_OBSOLETE 0
-// callback required by fatal()
-void netdata_cleanup_and_exit(int ret) {
- exit(ret);
-}
-
-void send_statistics( const char *action, const char *action_result, const char *action_data) {
- (void) action;
- (void) action_result;
- (void) action_data;
- return;
-}
-
-// callbacks required by popen()
-void signals_block(void) {};
-void signals_unblock(void) {};
-void signals_reset(void) {};
-
-// callback required by eval()
-int health_variable_lookup(const char *variable, uint32_t hash, struct rrdcalc *rc, calculated_number *result) {
- (void)variable;
- (void)hash;
- (void)rc;
- (void)result;
- return 0;
-};
-
-// required by get_system_cpus()
-char *netdata_configured_host_prefix = "";
-
// Variables
static int debug = 0;
static int netdata_update_every = 1;